Skip to content

Commit cd6a445

Browse files
committed
chore(workflows): add fast deploy workflow template
1 parent a199a49 commit cd6a445

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Deploy Project
2+
run-name: Deploy ${{ github.ref_name }} by @${{ github.actor }}
3+
4+
on:
5+
push:
6+
branches:
7+
- main
8+
paths:
9+
- 'src/**'
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
deploy:
16+
uses: ianhubnet/.github/.github/workflows/deploy.yml@main
17+
with:
18+
type: ${{ vars.CSK_TYPE }}
19+
app_path: src
20+
deploy_public: true
21+
delete_removed: true
22+
full_deploy: false
23+
secrets:
24+
FTP_HOST: ${{ secrets.FTP_HOST }}
25+
FTP_PORT: ${{ secrets.FTP_PORT }}
26+
FTP_USER: ${{ secrets.FTP_USER }}
27+
FTP_PASS: ${{ secrets.FTP_PASS }}
28+
FTP_PATH: ${{ secrets.FTP_PATH }}
29+
FTP_PATH_PUBLIC: ${{ secrets.FTP_PATH_PUBLIC }}

0 commit comments

Comments
 (0)