Skip to content

Commit e2f3855

Browse files
authored
Update and rename deploy to deploy.yml
1 parent 38f1299 commit e2f3855

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/deploy .github/workflows/deploy.yml

+9-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
# This is a workflow for github - ftp host synchronization
2-
on:
3-
push:
4-
branches: [ main ]
5-
6-
name: 🚀 Deploy website on push
2+
name: 🚀 FTP Deploy
3+
4+
on:
5+
workflow_run:
6+
workflows: ["Checks", "CodeQL"]
7+
types:
8+
- completed
9+
710
jobs:
811
web-deploy:
912
name: 🎉 Deploy
@@ -20,7 +23,7 @@ jobs:
2023
uses: SamKirkland/FTP-Deploy-Action@4.1.0
2124
with:
2225
server: ${{ secrets.ftp_server }}
23-
server-dir: ./portfolio/
26+
server-dir: ./frontend/
2427
dangerous-clean-slate: true
2528
username: ${{ secrets.ftp_user }}
2629
password: ${{ secrets.ftp_password }}

0 commit comments

Comments
 (0)