mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2026-10-02 01:21:38 +00:00
fix: Enable to create branch for first deployment (#92)
* fix: Enable to create branch for first deployment
* fix: remove pull_request
* ci: remove lint-staged husky for testing
* ci: Add git checkout {package-lock,package}.json
This commit is contained in:
1 parent
479c59e6d2
commit
1b6740cb30
3 files changed
+33
-26
No files matched your search
@@ -30,7 +30,6 @@ jobs:
|
||||
- 'macos-latest'
|
||||
- 'windows-latest'
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Read .nvmrc
|
||||
@@ -43,6 +42,12 @@ jobs:
|
||||
node-version: '${{ steps.nvm.outputs.NVMRC }}'
|
||||
|
||||
- run: npm ci
|
||||
|
||||
- name: Remove lint-staged husky
|
||||
run: |
|
||||
npm uninstall lint-staged husky
|
||||
git checkout package-lock.json package.json
|
||||
|
||||
- run: npm run build
|
||||
|
||||
- name: Setup mdBook
|
||||
|
||||
Reference in new issue
Block a user