chore: update dependencies to include Blocknote packages and Radix UI… #2
This file contains hidden or 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, dev ] # mainとdev両方 | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '22' # 22に変更 | |
- name: Install | |
run: npm install | |
- name: Build | |
env: | |
VITE_SUPABASE_URL: ${{ secrets.VITE_SUPABASE_URL }} | |
VITE_SUPABASE_API_KEY: ${{ secrets.VITE_SUPABASE_API_KEY }} | |
run: npm run build | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} # これは何もしなくてOK | |
publish_dir: ./dist |