Skip to content

Build and Deploy

Build and Deploy #347

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- main
schedule:
- cron: '30 18 * * *' # Dagelijks draaien
workflow_dispatch: # Handmatig starten toegestaan
permissions:
contents: write
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Install and Build 🔧
run: |
npm ci
npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist