Skip to content

Commit

Permalink
init gh pages deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
mnyrop committed Jan 22, 2024
1 parent a919cb1 commit b76d079
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: deploy

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: setup node
uses: actions/setup-node@v2
# with:
# node-version: 'v18.14.0'
- name: install
run: npm install
- name: build
run: npm run build
- name: deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist





0 comments on commit b76d079

Please sign in to comment.