Skip to content

Merge pull request #14 from Bungeetaco/dependabot/npm_and_yarn/vite-6… #18

Merge pull request #14 from Bungeetaco/dependabot/npm_and_yarn/vite-6…

Merge pull request #14 from Bungeetaco/dependabot/npm_and_yarn/vite-6… #18

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- master
# Add these permissions
permissions:
contents: write
pages: write
id-token: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install and Build
run: |
npm install
npm run build:github
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist
branch: gh-pages
token: ${{ secrets.GITHUB_TOKEN }} # Add this line