Skip to content

Commit 4499cdc

Browse files
committed
release
1 parent 7dbdbcf commit 4499cdc

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,15 @@ jobs:
9191
upload_url: ${{ steps.create_release.outputs.upload_url }}
9292
asset_path: ./README.md
9393
asset_name: README.md
94-
asset_content_type: text/markdown
94+
asset_content_type: text/markdown
95+
96+
- name: Deploy to GitHub Pages
97+
run: |
98+
git config --global user.name 'GitHub Actions'
99+
git config --global user.email '[email protected]'
100+
git checkout --orphan gh-pages
101+
git rm -rf .
102+
cp -r dist/* .
103+
git add .
104+
git commit -m "Deploy to GitHub Pages"
105+
git push -f origin gh-pages

0 commit comments

Comments
 (0)