Skip to content

Commit e874f6b

Browse files
committed
Try w/ FTP
1 parent c038976 commit e874f6b

File tree

1 file changed

+14
-16
lines changed

1 file changed

+14
-16
lines changed

.github/workflows/main.yml

+14-16
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
1-
name: Server Deploy
21
on: push
3-
jobs:
4-
web-deploy:
5-
name: Deploy Website
2+
name: 🚀 Deploy website on push
3+
jobs:
4+
web-deploy:
5+
name: 🎉 Deploy
66
runs-on: ubuntu-latest
7-
steps:
8-
- name: deploy
9-
uses: appleboy/ssh-action@v1.2.0
10-
with:
11-
host: ${{ secrets.HOST }}
12-
username: ${{ secrets.USERNAME }}
13-
password: ${{ secrets.PASSWORD }}
14-
port: 22
15-
script:
16-
cd public_html
17-
git status
18-
7+
steps:
8+
- name: 🚚 Get latest code
9+
uses: actions/checkout@v4
1910

11+
- name: 📂 Sync files
12+
uses: SamKirkland/FTP-Deploy-Action@v4.3.5
13+
with:
14+
server: ${{ secrets.host }}
15+
username: ${{ secrets.username }}
16+
password: ${{ secrets.password }}
17+
dry-run: true

0 commit comments

Comments
 (0)