Skip to content

update-demos

update-demos #4

Workflow file for this run

name: update-demos
on:
schedule:
- cron: '0 3 * * *' # Runs every day at 03:00 UTC
workflow_dispatch:
push:
paths:
- 'api/*'
- 'config/*'
- 'hack/demo/*'
- '.github/workflows/update-demos.yaml'
pull_request:
paths:
- 'api/*'
- 'config/*'
- 'hack/demo/*'
- '.github/workflows/update-demos.yaml'
jobs:
demo:
runs-on: ubuntu-latest
env:
TERM: linux
steps:
- run: sudo apt update && sudo apt install -y asciinema curl
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Run Demo Update
run: |
env -i \
HOME="$HOME" \
PATH="$PATH" \
TERM="xterm-256color" \
SHELL="/bin/bash" \
make update-demos