Skip to content

Commit

Permalink
chore(generate.yml): remove commands.json from .gitignore to allow up…
Browse files Browse the repository at this point in the history
…loading the file to Spacelift

chore(generate.yml): update comment to explain the reason for removing commands.json from .gitignore
chore(gitignore): remove newline at end of file
  • Loading branch information
jandroav committed Jan 5, 2024
1 parent 1c02d4f commit b8ba8c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ jobs:
SPACELIFT_API_KEY_ID: ${{ secrets.SPACELIFT_API_KEY_ID }}
SPACELIFT_API_KEY_SECRET: ${{ secrets.SPACELIFT_API_KEY_SECRET }}
run: |
ls -ltr
# We need to remove commands.json from the .gitignore file because Spacelift respects .gitignore files and the fil won't be uploaded
sed -i '/commands\.json/d' .gitignore
spacectl stack local-preview --id liquibase-github-actions
# - name: Deploy infrastructure
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ protoc-gen-liquibase
notes
liquibase_libs
.terraform
commands.json
action
.fleet

0 comments on commit b8ba8c7

Please sign in to comment.