Skip to content

Commit 45e38c3

Browse files
committed
ci: changes to the workflow
1 parent 9778a2b commit 45e38c3

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/update_docs.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,20 @@ jobs:
1717

1818
- name: Checkout libdebug gh-pages
1919
uses: actions/checkout@v4
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2022
with:
2123
repository: libdebug/libdebug
2224
ref: gh-pages
23-
path: /tmp/libdebug-pages
25+
path: libdebug-pages
2426
fetch-depth: 1
2527
token: ${{ secrets.GITHUB_TOKEN }}
2628

2729
- name: Sync files
2830
run: |
29-
rsync -av /tmp/libdebug-pages/ ./ \
30-
--exclude '.git' --exclude '.github/**' --exclude 'CNAME'
31+
rsync -av libdebug-pages/ ./ \
32+
--exclude '.git' --exclude '.github/**'
33+
rm -rf libdebug-pages
3134
3235
- name: Commit & push
3336
env:

0 commit comments

Comments
 (0)