Skip to content

Commit

Permalink
Merge pull request #78 from grafana/jdb/2024-07-add-new-tutorial-for-…
Browse files Browse the repository at this point in the history
…regeneration
  • Loading branch information
jdbaldry authored Jul 25, 2024
2 parents c4b9464 + 81e6759 commit 1ceeb20
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/regenerate-tutorials.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,18 @@ jobs:
if: github.repository == 'grafana/killercoda'
runs-on: ubuntu-latest
steps:
# Check out all the repositories that contain documentation sources from which we generate tutorials.
- uses: actions/checkout@v4
with:
repository: grafana/loki
# Change to `main` after this branch is merged.
ref: jdb/2024-06-killercoda-migration
path: loki-alt
- uses: actions/checkout@v4
with:
repository: grafana/loki
path: loki

- uses: actions/checkout@v4
with:
path: killercoda
Expand All @@ -25,11 +31,23 @@ jobs:
- run: ./scripts/check-out-branch.bash
shell: bash
working-directory: killercoda
# Run the transformer on all documentation sources.
- run: >
./transformer
"${GITHUB_WORKSPACE}/loki/docs/sources/get-started/quick-start.md"
"${GITHUB_WORKSPACE}/loki-alt/docs/sources/get-started/quick-start.md"
"${GITHUB_WORKSPACE}/killercoda/loki/loki-quickstart"
working-directory: killercoda/tools/transformer
- run: >
./transformer
"${GITHUB_WORKSPACE}/loki/docs/sources/send-data/alloy/examples/alloy-kafka-logs.md"
"${GITHUB_WORKSPACE}/killercoda/loki/alloy-kafka-logs"
working-directory: killercoda/tools/transformer
- run: >
./transformer
"${GITHUB_WORKSPACE}/loki/docs/sources/send-data/alloy/examples/alloy-otel-logs.md"
"${GITHUB_WORKSPACE}/killercoda/loki/alloy-otel-logs"
working-directory: killercoda/tools/transformer
- run: ./scripts/manage-pr.bash
env:
GH_TOKEN: ${{ github.token }}
Expand Down

0 comments on commit 1ceeb20

Please sign in to comment.