Skip to content

Commit

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

0 comments on commit c73f2d2

Please sign in to comment.