Skip to content

Commit 6219509

Browse files
committed
use checkout action
1 parent 44e06de commit 6219509

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/pages.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ jobs:
1616
run: find . -maxdepth 1 ! -name 'dist' ! -name '.git' ! -name '.' -exec rm -rf {} +
1717
- name: Move dist to docs
1818
run: mv dist docs
19+
- uses: actions/checkout@v3
20+
ref: 'gh-pages'
21+
clean: false
1922
- name: Push to gh-pages
2023
run: |
21-
git checkout gh-pages
2224
git config user.name "github-actions[bot]"
2325
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
2426
git add .

0 commit comments

Comments
 (0)