Skip to content

Commit

Permalink
Update autobuild.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jason5ng32 committed May 29, 2024
1 parent 2f1ddee commit 6763ab6
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/autobuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,13 @@ jobs:
ref: gh-pages
path: gh-pages

- name: Prepare gh-pages directory
run: |
mkdir -p gh-pages/docs
rm -rf gh-pages/docs/*
- name: Copy docs to gh-pages/docs directory
- name: Clear old documentation
working-directory: gh-pages
run: |
cp -r docs/* gh-pages/docs/
find . -maxdepth 1 ! -name 'CNAME' ! -name '.git' ! -name '.' ! -name '..' -exec rm -rf {} +
- name: Copy docs to gh-pages directory
run: cp -r docs/* gh-pages/

- name: Commit and push to gh-pages
working-directory: gh-pages
Expand Down

0 comments on commit 6763ab6

Please sign in to comment.