Skip to content

Commit

Permalink
ci: restore state before switching branches
Browse files Browse the repository at this point in the history
  • Loading branch information
gadomski committed Nov 27, 2024
1 parent 5a31899 commit 89a02a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- gh-pages
- main
tags:
- "v*"
workflow_dispatch:
Expand All @@ -26,7 +27,7 @@ jobs:
GIT_COMMITTER_NAME: ci-bot
GIT_COMMITTER_EMAIL: [email protected]
- name: Checkout gh-pages
run: git checkout gh-pages
run: git restore . && git checkout gh-pages
- uses: actions/upload-pages-artifact@v3
id: deployment
with:
Expand Down

0 comments on commit 89a02a5

Please sign in to comment.