Skip to content

Commit

Permalink
Merge pull request #5 from 7SOATSquad30/feature/lambda
Browse files Browse the repository at this point in the history
[conf] - update deploy-lambda
  • Loading branch information
otavio-code authored Jan 25, 2025
2 parents 8d85a56 + 35ac6f4 commit 60437c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/deploy-lambda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ jobs:
run: sudo apt-get update && sudo apt-get install -y xz-utils zip

- name: Construir pacote de implantação
working-directory: app
run: make -f Makefile build
run: make build

- name: Fazer upload do pacote para S3 (opcional)
run: |
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build:
rm -rf package
mkdir -p package/tmp
@echo "Instalando dependências..."
pip install --target ./package -r requirements.txt
pip install --target ./package -r app/requirements.txt
@echo "Baixando FFmpeg..."
curl -L $(FFMPEG_URL) | tar -xJ -C package/tmp --strip-components 1
cp package/tmp/ffmpeg package/
Expand Down

0 comments on commit 60437c2

Please sign in to comment.