diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml index 5589d64..4589eb8 100644 --- a/.github/workflows/generate.yml +++ b/.github/workflows/generate.yml @@ -64,6 +64,15 @@ jobs: SPACELIFT_API_KEY_SECRET: ${{ secrets.SPACELIFT_API_KEY_SECRET }} run: spacectl stack local-preview --id liquibase-github-actions --disregard-gitignore=true + - name: Commit and push commands.json changes + continue-on-error: true + run: | + git config --global user.name "liquibot" + git config --global user.email "liquibot@liquibase.org" + git add --force commands.json + git commit -m "Update commands.json" -a + git push + - name: Deploy infrastructure if: github.ref == 'refs/heads/main' env: diff --git a/.gitignore b/.gitignore index fd4bf8d..b95a54e 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,5 @@ liquibase_libs .terraform commands.json action -.fleet \ No newline at end of file +.fleet +.terraform.lock.hcl \ No newline at end of file diff --git a/commands.json b/commands.json new file mode 100644 index 0000000..81b657f --- /dev/null +++ b/commands.json @@ -0,0 +1 @@ +["calculate-checksum","changelog-sync","changelog-sync-sql","changelog-sync-to-tag","changelog-sync-to-tag-sql","checks bulk-set","checks copy","checks create","checks customize","checks delete","checks disable","checks enable","checks reset","checks run","checks show","clear-checksums","connect","db-doc","diff","diff-changelog","drop-all","execute-sql","flow","flow validate","future-rollback-count-sql","future-rollback-from-tag-sql","future-rollback-sql","generate-changelog","history","init copy","init project","init start-h2","list-locks","mark-next-changeset-ran","mark-next-changeset-ran-sql","release-locks","rollback","rollback-count","rollback-count-sql","rollback-one-changeset","rollback-one-changeset-sql","rollback-one-update","rollback-one-update-sql","rollback-sql","rollback-to-date","rollback-to-date-sql","set-contexts","set-labels","snapshot","snapshot-reference","status","tag","tag-exists","unexpected-changesets","update","update-count","update-count-sql","update-one-changeset","update-one-changeset-sql","update-sql","update-testing-rollback","update-to-tag","update-to-tag-sql","validate"] \ No newline at end of file