Skip to content

Commit

Permalink
Fix deploy env var
Browse files Browse the repository at this point in the history
  • Loading branch information
VitalikL committed Sep 22, 2024
1 parent e4bb307 commit 485543c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/deploy-video.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- run: node ./ops/deploy/deploy-video.js -m "gen"
env:
DEPLOY_ENV: ${{ steps.extract_branch.outputs.branch }}
- run: rm -r media && mkdir media
- run: |
test -f curl-config-0.txt && for file in curl-config-*.txt; do
Expand All @@ -54,7 +56,10 @@ jobs:
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
DEPLOY_ENV: ${{ steps.extract_branch.outputs.branch }}
- run: node ./ops/deploy/deploy-video.js
env:
DEPLOY_ENV: ${{ steps.extract_branch.outputs.branch }}
- name: Deploying API
run: aws s3 cp dist/ s3://sabbath-school`[[ "${{ steps.extract_branch.outputs.branch }}" = "stage" ]] && echo '-stage'`.adventech.io --acl "public-read" --region us-east-1 --no-progress --recursive
env:
Expand Down

0 comments on commit 485543c

Please sign in to comment.