Skip to content

Commit 6f2aff4

Browse files
committed
update: staticfile 수집 자동화 (manage.py)
1 parent 33c4e86 commit 6f2aff4

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/deploy_on_dev.yml

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

0 commit comments

Comments
 (0)