-
Notifications
You must be signed in to change notification settings - Fork 6
33 lines (33 loc) · 1.02 KB
/
blank.yml
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
name: Regenerate tutorials
on:
schedule:
- cron: '0 7 * * 1-5'
workflow_dispatch:
jobs:
main:
if: github.repository == 'grafana/killercoda'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
repository: grafana/loki
# Change to `main` after this branch is merged.
ref: jdb/2024-06-killercoda-migration
path: loki
- uses: actions/checkout@v4
with:
ref: jdb/2024-06-killercoda-migration
path: killercoda
- uses: actions/setup-go@v5
with:
go-version-file: killercoda/tools/transformer/go.mod
- run: go build ./
working-directory: killercoda/tools/transformer
- run: >
./transformer
"${GITHUB_WORKSPACE}/loki/docs/sources/get-started/quick-start.md"
"${GITHUB_WORKSPACE}/killercoda/loki/loki-quickstart"
working-directory: killercoda/tools/transformer
- run: ./scripts/manage-pr.bash
shell: bash
working-directory: killercoda