Skip to content

Commit

Permalink
test(ci): exercise mike deploy in dry-run mode
Browse files Browse the repository at this point in the history
  • Loading branch information
joanise committed Jun 21, 2024
1 parent 7196f52 commit b89ae43
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@ on:
push:
branches:
- main
- dev.ej/deploy-docs-test
jobs:
docs:
# Create latest docs
runs-on: ubuntu-latest
permissions:
contents: write # to push to the gh-pages branch
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -25,6 +24,10 @@ jobs:
run: |
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
- name: Deploy docs with mike 🚀
- name: Deploy docs with mike 🚀 (DRY RUN)
run: |
mike deploy --push --update-aliases dev latest
mike deploy --update-aliases dev latest
- name: show the results of the mike deploy
run: |
git show --stat gh-pages
git show gh-pages

0 comments on commit b89ae43

Please sign in to comment.