Clean Code #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Export Codelab (NO PROD) | |
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 |