Skip to content

ci: make sure that we have a clean state #1

ci: make sure that we have a clean state

ci: make sure that we have a clean state #1

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- alpha
paths:
- "files/**"
jobs:
build-and-deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "18"
- name: Install Dependencies
run: npm install
- name: Run Build Script
run: npm run start -- -y
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./output
clean: true