Skip to content

Commit

Permalink
Commit the schema.json during the build.
Browse files Browse the repository at this point in the history
  • Loading branch information
wparad committed May 31, 2023
1 parent 3cc2496 commit 984ec3e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ jobs:
make tfgen
make provider
# the schema.json is read by pulumi directly from the repo, so it has to be there, and it can be updated dynamically by everything, so we really don't want it present otherwise
# So we'll generate it during the build and then commit it.
git add provider/cmd/pulumi-resource-authress/schema.json && git commit -m"Committing updated schema.json" || echo "schema.json is up to date."
- name: Create Github Release and Tag
if: github.repository_owner == 'Authress' && github.ref != 'refs/heads/main' && github.event_name == 'push'
run: |
Expand Down

0 comments on commit 984ec3e

Please sign in to comment.