From 4fbb6fe306f0c8ad080bd2bfdfa20f2e90443528 Mon Sep 17 00:00:00 2001 From: Alexandre Touret Date: Mon, 3 Jun 2024 10:55:06 +0200 Subject: [PATCH] feat: Test CLAAT NOT PROD --- .github/workflows/claat-noprod.yml | 23 +++++++++++++++++++ .../workflows/{claat.yml => claat-prod.yml} | 0 2 files changed, 23 insertions(+) create mode 100644 .github/workflows/claat-noprod.yml rename .github/workflows/{claat.yml => claat-prod.yml} (100%) diff --git a/.github/workflows/claat-noprod.yml b/.github/workflows/claat-noprod.yml new file mode 100644 index 0000000..a0f957a --- /dev/null +++ b/.github/workflows/claat-noprod.yml @@ -0,0 +1,23 @@ +name: Export codelab from Google Doc + +on: + push: + branches: ["!main"] + pull_request: + workflow_dispatch: + +jobs: + test-codelab: + runs-on: ubuntu-latest + permissions: + contents: write + pages: write + id-token: write + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version: '1.22.2' # The Go version to download (if necessary) and use. + - run: go install github.com/googlecodelabs/tools/claat@latest + - name: Export with CLAAT + run: mkdir -p ./public/ && claat export -f html -o public docs/workshop.md diff --git a/.github/workflows/claat.yml b/.github/workflows/claat-prod.yml similarity index 100% rename from .github/workflows/claat.yml rename to .github/workflows/claat-prod.yml