forked from operator-framework/operator-controller
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (36 loc) · 852 Bytes
/
update-demos.yaml
File metadata and controls
39 lines (36 loc) · 852 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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@v5
- uses: actions/setup-go@v6
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