We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98e9f3c commit 38f1299Copy full SHA for 38f1299
.github/workflows/deploy
@@ -0,0 +1,27 @@
1
+# This is a workflow for github - ftp host synchronization
2
+on:
3
+ push:
4
+ branches: [ main ]
5
+
6
+name: 🚀 Deploy website on push
7
+jobs:
8
+ web-deploy:
9
+ name: 🎉 Deploy
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: 🚚 Get latest code
13
+ uses: actions/checkout@v2
14
+ - name: Current repo dir
15
+ run: |
16
+ echo test the checkout action,
17
+ ls -a
18
19
+ - name: 📂 Sync files
20
+ uses: SamKirkland/FTP-Deploy-Action@4.1.0
21
+ with:
22
+ server: ${{ secrets.ftp_server }}
23
+ server-dir: ./portfolio/
24
+ dangerous-clean-slate: true
25
+ username: ${{ secrets.ftp_user }}
26
+ password: ${{ secrets.ftp_password }}
27
+ local-dir: ./build/
0 commit comments