There was an error while loading. Please reload this page.
1 parent a199a49 commit cd6a445Copy full SHA for cd6a445
1 file changed
.github/workflow-templates/deploy.yml
@@ -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