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 4e589e5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 15 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
4 changes: 0 additions & 4 deletions qwc2.yml.in
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,3 @@ extra_css:
markdown_extensions:
- toc:
permalink: true
extra:
version:
provider: mike
default: master

0 comments on commit 4e589e5

Please sign in to comment.