fix unsignedevent type #81
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 | |
on: | |
push: | |
branches: | |
- main # Adjust if your default branch is different | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '18' | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Prepare Yarn | |
run: corepack prepare [email protected] --activate | |
- name: Configure git to use HTTPS instead of SSH | |
run: git config --global url."https://".insteadOf ssh:// | |
- name: Install dependencies | |
run: yarn install | |
- name: Build project | |
run: yarn build # Adjust if your build command is different | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./dist |