Skip to content

Commit

Permalink
feat: update rsync commands in workflows for staging and production
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangdingding committed Feb 8, 2025
1 parent aeddefb commit bc4e638
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jobs:
- name: Put everything to HK-staging
if: ${{ !env.ACT && github.repository_owner == 'merico-dev' && github.event.client_payload.env == 'staging' }}
run: |
rsync -avz --delete -e 'ssh -o StrictHostKeyChecking=no' ./.* "root@${{ secrets.HK_HOST }}:/root/website-docs/"
rsync -avz --delete -e 'ssh -o StrictHostKeyChecking=no' ./ "root@${{ secrets.HK_HOST }}:/root/website-docs/"
- name: Mod scripts on HK-staging
if: ${{ !env.ACT && github.repository_owner == 'merico-dev' && github.event.client_payload.env == 'staging' }}
Expand Down Expand Up @@ -159,7 +159,7 @@ jobs:
- name: Put everything to HK-prod
if: ${{ !env.ACT && github.repository_owner == 'merico-dev' && github.event.client_payload.env == 'prod' }}
run: |
rsync -avz --delete -e 'ssh -o StrictHostKeyChecking=no' ./.* "root@${{ secrets.HK_HOST }}:/root/website-docs-prod/"
rsync -avz --delete -e 'ssh -o StrictHostKeyChecking=no' ./ "root@${{ secrets.HK_HOST }}:/root/website-docs-prod/"
- name: Mod scripts on HK-prod
if: ${{ !env.ACT && github.repository_owner == 'merico-dev' && github.event.client_payload.env == 'prod' }}
Expand Down

0 comments on commit bc4e638

Please sign in to comment.