Skip to content

Commit

Permalink
Generate templ files
Browse files Browse the repository at this point in the history
  • Loading branch information
Piszmog committed Nov 20, 2023
1 parent be7f059 commit 888437b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
with:
go-version: 1.21.x
- run: go mod download
- run: go install github.com/a-h/templ/cmd/templ@latest
- run: templ generate -path ./components
- name: Test
run: go test -race ./...
tag:
Expand Down Expand Up @@ -55,6 +57,12 @@ jobs:
- tag
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: 1.21.x
- run: go mod download
- run: go install github.com/a-h/templ/cmd/templ@latest
- run: templ generate -path ./components
- name: Get Version
run: echo "VERSION=$(cat version.txt)" >> $GITHUB_ENV
- name: Replace token secret
Expand Down

0 comments on commit 888437b

Please sign in to comment.