Skip to content

Commit

Permalink
Fixed deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
LucF120 committed Jun 6, 2024
1 parent 56074c2 commit 3dc682f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 55 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/deploy.yml

This file was deleted.

30 changes: 0 additions & 30 deletions .github/workflows/home.html

This file was deleted.

17 changes: 17 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
on: push
name: Publish Website
jobs:
web-deploy:
name: 🚀 Deploy Website Every Commit
runs-on: ubuntu-latest
steps:
- name: 🚚 Get Latest Code
uses: actions/checkout@v3

- name: 📂 Sync Files
uses: SamKirkland/web-deploy@v1
with:
target-server: lucferrara.com
remote-user: ${{ secrets.FTP_USERNAME }}
private-ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
destination-path: ~/public_html/

0 comments on commit 3dc682f

Please sign in to comment.