mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 00:31:20 -08:00
Update nodejs.yml
This commit is contained in:
1 parent
12b1c1d347
commit
e01f49821c
1 file changed
+11
@@ -32,3 +32,14 @@ jobs:
|
|||||||
npm run build:all
|
npm run build:all
|
||||||
env:
|
env:
|
||||||
CI: true
|
CI: true
|
||||||
|
|
||||||
|
- name: Deploy to GitHub Pages
|
||||||
|
if: success()
|
||||||
|
run: |
|
||||||
|
git config --global user.name 'github-actions[bot]'
|
||||||
|
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
|
||||||
|
git add -f docs
|
||||||
|
git commit -m 'Deploy to GitHub Pages'
|
||||||
|
git push --force origin `git subtree split --prefix docs master`:gh-pages
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
Reference in new issue
Block a user