mirror of
https://github.com/ditatompel/insights.git
synced 2025-01-08 03:12:06 +07:00
chore(ci): Only execute test to build instead of rsync deploy on PR
Rsync deploy not working if PR from fork repo
This commit is contained in:
parent
4be63912a0
commit
1ae194d2d4
1 changed files with 9 additions and 9 deletions
18
.github/workflows/staging.yaml
vendored
18
.github/workflows/staging.yaml
vendored
|
@ -53,12 +53,12 @@ jobs:
|
||||||
- name: Build
|
- name: Build
|
||||||
run: hugo --minify --gc --enableGitInfo --cleanDestinationDir
|
run: hugo --minify --gc --enableGitInfo --cleanDestinationDir
|
||||||
|
|
||||||
- name: Deploy to staging
|
# - name: Deploy to staging
|
||||||
uses: burnett01/rsync-deployments@5.2
|
# uses: burnett01/rsync-deployments@5.2
|
||||||
with:
|
# with:
|
||||||
switches: -avzr --quiet --delete
|
# switches: -avzr --quiet --delete
|
||||||
path: public/
|
# path: public/
|
||||||
remote_path: ${{ secrets.DEPLOY_PATH }}
|
# remote_path: ${{ secrets.DEPLOY_PATH }}
|
||||||
remote_host: ${{ secrets.DEPLOY_HOST }}
|
# remote_host: ${{ secrets.DEPLOY_HOST }}
|
||||||
remote_user: ${{ secrets.DEPLOY_USER }}
|
# remote_user: ${{ secrets.DEPLOY_USER }}
|
||||||
remote_key: ${{ secrets.DEPLOY_KEY }}
|
# remote_key: ${{ secrets.DEPLOY_KEY }}
|
||||||
|
|
Loading…
Reference in a new issue