Skip to content

update: first working release #4

update: first working release

update: first working release #4

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:
create-current:
# the job runs a js script to create a current.json file
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Create current.json 📝
run: node ./builder/builder.js
- name: Move current.json 📝
run: mv current.json src/current.json
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: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: src # The folder the action should deploy.