Skip to content

Build and Deploy

Build and Deploy #289

Workflow file for this run

name: Build and Deploy
on:
push:
schedule:
- cron: '0 00 * * *' # At 00:00 everyday
workflow_dispatch:
permissions:
contents: write
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Create current.json 📝
run: node ./builder/builder.js
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: src # The folder the action should deploy.