Skip to content

Commit

Permalink
fix: deploy dev rule #89
Browse files Browse the repository at this point in the history
  • Loading branch information
dragontaek-lee committed Jun 17, 2023
1 parent ae63501 commit 5e36ba1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ jobs:
yarn
yarn run build
# update prisma
- name: prisma
working-directory: ./
run: |
sudo yarn run db-pull:dev
sudo yarn run generate:dev
# compress to zip file to upload to S3
- name: compress files for deploy
run: zip -r picme.zip ./dist ./scripts ./appspec.yml ./.env.development ./package.json ./prisma
Expand Down
2 changes: 0 additions & 2 deletions scripts/run-after-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,5 @@ fi

if [ "$DEPLOYMENT_GROUP_NAME" == "testDeployGroup" ]
then
sudo yarn run db-pull:dev
sudo yarn run generate:dev
sudo yarn run deploy:dev
fi

0 comments on commit 5e36ba1

Please sign in to comment.