π v3.8.15 data migrate (#26) #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to GitHub Pages (Yarn) | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- "README.md" | |
# Permissions of the GITHUB_TOKEN | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: yarn | |
- run: yarn install | |
- run: yarn lint | |
- run: yarn build | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v3.0.0 | |
with: | |
path: ./build # Change the path if required | |
deploy: | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v4 |