File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -115,13 +115,17 @@ jobs:
115115 - name : Zappa Update
116116 run : uv run zappa update ${{ env.API_STAGE }} --docker-image-uri ${{ env.AWS_ECR_REGISTRY }}:${{ steps.info.outputs.TAG }}
117117
118+ - name : Django collect staticfiles
119+ run : uv run zappa manage ${{ env.API_STAGE }} "collectstatic --no-input"
120+
121+ # Django migrate
122+ - name : Django migrate
123+ run : uv run zappa manage ${{ env.API_STAGE }} "migrate --noinput"
124+
118125 # Zappa certify
119126 - name : Zappa Certify
120127 run : uv run zappa certify ${{ env.API_STAGE }} --yes
121128
122- - name : Collect staticfiles
123- run : uv run zappa manage ${{ env.API_STAGE }} "collectstatic --no-input"
124-
125129 # Notify to Slack (Success)
126130 - name : Notify deployment to Slack
127131 if : failure() || cancelled()
You can’t perform that action at this time.
0 commit comments