Skip to content

Commit

Permalink
fix: gitee mirror action don't work when push gh-pages only
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Aug 11, 2020
1 parent 0e4d1f1 commit 203b24a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"site:develop": "gatsby develop --open -H 0.0.0.0",
"site:build": "npm run site:clean && gatsby build --prefix-paths",
"site:clean": "gatsby clean",
"site:deploy": "npm run site:build && gh-pages -d public",
"site:deploy": "npm run site:build && npm run site:copy-mirror-action && gh-pages -d public",
"site:copy-mirror-action": "mkdir -p public/.github/workflows && cp .github/workflows/mirror.yml public/.github/workflows",
"clean": "rimraf lib esm dist",
"lint": "run-p lint:*",
"lint:tslint": "tslint -c tslint.json 'src/**/*.ts'",
Expand Down

0 comments on commit 203b24a

Please sign in to comment.