Skip to content

Commit

Permalink
Update pipeline (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
ltan02 authored Mar 25, 2024
1 parent 3ad11e4 commit 880fc11
Show file tree
Hide file tree
Showing 4 changed files with 82 additions and 19 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
workflow_run:
workflows: ["Build Pipeline"]
types: [completed]
branches: [main]

jobs:
setup:
Expand Down Expand Up @@ -91,6 +92,7 @@ jobs:
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: ${{ needs.setup.outputs.AWS_S3_REGION_NAME }}
DB_USERNAME: ${{ needs.setup.outputs.DB_USERNAME }}
DB_PASSWORD: ${{ needs.setup.outputs.DB_PASSWORD }}
DB_HOST: ${{ needs.setup.outputs.DB_HOST }}
Expand Down Expand Up @@ -138,7 +140,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '14'
node-version: '20.x'

- name: Install dependencies
run: |
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -206,4 +206,6 @@ override.tf.json

# Ignore CLI configuration files
.terraformrc
terraform.rc
terraform.rc

*.zip
2 changes: 1 addition & 1 deletion backend/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "pypi"
django = ">=4.2.6"
djangorestframework = ">=3.14.0"
django-environ = ">=0.11.2"
psycopg2 = ">=2.9.9"
psycopg2-binary = ">=2.9.9"
boto3 = ">=1.29.6"
django-storages = ">=1.14.2"
djangorestframework-simplejwt = ">=5.3.1"
Expand Down
91 changes: 75 additions & 16 deletions backend/Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 880fc11

Please sign in to comment.