Skip to content

Commit

Permalink
🐛 Deployment fix: remove ZIP artifact dependency, adjust for docker.
Browse files Browse the repository at this point in the history
  • Loading branch information
asaf-kali committed Oct 31, 2024
1 parent fdce14f commit e97b01c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/actions/deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,17 @@ runs:
echo "sentry_dsn = \"${{ inputs.sentry_dsn }}\"" > ${TF_VAR_FILE}
echo "telegram_token = \"${{ inputs.telegram_token }}\"" >> ${TF_VAR_FILE}
shell: bash
- name: Download deploy artifact
uses: actions/download-artifact@v4
with:
name: deployment-${{ inputs.sha }}
path: ./.deployment
# - name: Download deploy artifact
# uses: actions/download-artifact@v4
# with:
# name: deployment-${{ inputs.sha }}
# path: ./.deployment
- name: Install CI dependencies
run: make install-ci
shell: bash
- name: Export artifacts
run: make export
shell: bash
- name: Terraform init
run: cd tf; terraform init
shell: bash
Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ lock-check:
lock-export: lock-check
poetry export -f requirements.txt --output requirements.lock --only main --without-hashes

export: lock-export

# Test

test:
Expand Down

0 comments on commit e97b01c

Please sign in to comment.