Skip to content

Commit

Permalink
Update gh-pages before mike run, final
Browse files Browse the repository at this point in the history
Signed-off-by: Roberto Di Cosmo <[email protected]>
  • Loading branch information
Roberto Di Cosmo committed Aug 9, 2023
1 parent 3234ae0 commit 08d1d06
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
container: python:3
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: 'main'
- name: Install pre-requisites
Expand All @@ -22,9 +22,10 @@ jobs:
run: mkdocs build -v --clean
- name: Configure Git user
run: |
git config --global --add safe.directory '*'
git fetch origin gh-pages --depth=1
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
git config --global --add safe.directory '*'
- name: Deploy MkDoc with mike 🚀
run: |
mike deploy --push ${{ steps.extract_branch.outputs.branch }}
Expand Down

0 comments on commit 08d1d06

Please sign in to comment.