Skip to content

Build Release

Build Release #11052

Workflow file for this run

name: Build Release
on:
workflow_dispatch:
push:
branches: [ main ]
schedule:
- cron: '28 * * * *'
jobs:
build:
name: Update
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Fetch data
run: |
. update.sh
- name: Push to release
run: |
git branch -D release || true
git checkout --orphan release
echo library.jlulug.org > CNAME
git add data.json CNAME
git config --local user.name "github-actions[bot]"
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git commit -m "built on $(date)"
git push -f -u origin release