Skip to content

Commit

Permalink
feat: use tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
PancakePhilarmonych committed Nov 1, 2023
1 parent 15d5d1d commit 46a5e79
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,11 @@ jobs:
push_to_gh_pages:
runs-on: ubuntu-latest
steps:
- name: Use Node.js v14.17.6
uses: actions/checkout@v2
with:
node-version: '14.17.6'
- name: build
run: |
- export NVM_DIR=~/.nvm
- source ~/.nvm/nvm.sh
- npm install
- npm run build
- name: deploy
run: |
- git add dist && git commit -m "build"
- git subtree push --prefix dist origin gh-pages
- run: node --version
- run: npm --version
- uses: actions/checkout@v3
- run: npm install
- run: npm run build
- run: git add dist && git commit -m "build"
- run: git subtree push --prefix dist origin gh-pages

0 comments on commit 46a5e79

Please sign in to comment.