Skip to content

Commit

Permalink
Cleanup CI job
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Jan 15, 2024
1 parent 34a7421 commit b5a6115
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,7 @@ jobs:
fetch-depth: 0

- name: Build
run: ./build.sh --update

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site
force_orphan: true
keep_files: false
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
./build.sh --update
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ echo "* Clean previous HTML build..."
rm -rf site

echo "* Building HTML..."
mike deploy -F qwc2.yml $branch
mike deploy -F qwc2.yml --push $branch

# cleanup venv
echo "* Clean venv..."
Expand Down
1 change: 0 additions & 1 deletion qwc2.yml.in
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,3 @@ markdown_extensions:
extra:
version:
provider: mike
default: master

0 comments on commit b5a6115

Please sign in to comment.