Skip to content

Commit 7403410

Browse files
authored
Merge pull request #33 from golony6449/feature/golony/update-action
staticfile 수집 자동화 (manage.py) [PROD]
2 parents fd3ce02 + e176d37 commit 7403410

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/deploy_on_prod.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,14 @@ jobs:
9393
run: |
9494
source ./zappa-env/bin/activate
9595
zappa update prod2023
96-
zappa manage prod2023 "collectstatic --no-input"
96+
# zappa manage prod2023 "collectstatic --no-input"
97+
98+
- name: Collect Static Files to S3
99+
env:
100+
AWS_ACCESS_KEY_ID: ${{ secrets.PYCON_DEV_2023_AWS_KEY }}
101+
AWS_SECRET_ACCESS_KEY: ${{ secrets.PYCON_DEV_2023_AWS_SECRET }}
102+
AWS_S3_ACCESS_KEY_ID: ${{ secrets.PYCON_DEV_2023_AWS_KEY }}
103+
AWS_S3_SECRET_ACCESS_KEY: ${{ secrets.PYCON_DEV_2023_AWS_SECRET }}
104+
run: |
105+
source ./zappa-env/bin/activate
106+
python manage.py collectstatic --no-input --settings=pyconkr.settings-prod

0 commit comments

Comments
 (0)