Skip to content

Commit bc4e638

Browse files
committed
feat: update rsync commands in workflows for staging and production
1 parent aeddefb commit bc4e638

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/update.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ jobs:
131131
- name: Put everything to HK-staging
132132
if: ${{ !env.ACT && github.repository_owner == 'merico-dev' && github.event.client_payload.env == 'staging' }}
133133
run: |
134-
rsync -avz --delete -e 'ssh -o StrictHostKeyChecking=no' ./.* "root@${{ secrets.HK_HOST }}:/root/website-docs/"
134+
rsync -avz --delete -e 'ssh -o StrictHostKeyChecking=no' ./ "root@${{ secrets.HK_HOST }}:/root/website-docs/"
135135
136136
- name: Mod scripts on HK-staging
137137
if: ${{ !env.ACT && github.repository_owner == 'merico-dev' && github.event.client_payload.env == 'staging' }}
@@ -159,7 +159,7 @@ jobs:
159159
- name: Put everything to HK-prod
160160
if: ${{ !env.ACT && github.repository_owner == 'merico-dev' && github.event.client_payload.env == 'prod' }}
161161
run: |
162-
rsync -avz --delete -e 'ssh -o StrictHostKeyChecking=no' ./.* "root@${{ secrets.HK_HOST }}:/root/website-docs-prod/"
162+
rsync -avz --delete -e 'ssh -o StrictHostKeyChecking=no' ./ "root@${{ secrets.HK_HOST }}:/root/website-docs-prod/"
163163
164164
- name: Mod scripts on HK-prod
165165
if: ${{ !env.ACT && github.repository_owner == 'merico-dev' && github.event.client_payload.env == 'prod' }}

0 commit comments

Comments
 (0)