Skip to content

Commit 2cb6ca8

Browse files
authored
Merge pull request #1818 from wheels-dev/doc-sync-fix
Update docs-sync.yml
2 parents 9a6d537 + 049a655 commit 2cb6ca8

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/docs-sync.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
sync:
12-
runs-on: [self-hosted, wheels-FW]
12+
runs-on: [self-hosted, Linux, X64, wheels-fw]
1313
steps:
1414
- name: Checkout Repo
1515
uses: actions/checkout@v3
@@ -18,8 +18,9 @@ jobs:
1818

1919
- name: Sync to shared docs folder
2020
run: |
21-
rsync -av --no-perms --no-owner --no-group --del docs/src/ /mnt/shared/docs/3.0.0/guides
22-
rsync -av --no-perms --no-owner --no-group docs/src/.gitbook/assets/ /mnt/shared/public/images
23-
rsync -av --no-perms --no-owner --no-group --del docs/api/ /mnt/shared/public/json
21+
rsync -av --no-perms --no-owner --no-group --del docs/src/ "${{ secrets.DEPLOY_PATH }}/docs/3.0.0/guides"
22+
rsync -av --no-perms --no-owner --no-group docs/src/.gitbook/assets/ "${{ secrets.DEPLOY_PATH }}/public/images"
23+
rsync -av --no-perms --no-owner --no-group --del docs/api/ "${{ secrets.DEPLOY_PATH }}/public/json"
24+
2425
2526

0 commit comments

Comments
 (0)