Skip to content

Commit 08072c9

Browse files
committed
GHA deployment tweaks
1 parent 80f2b8d commit 08072c9

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.github/workflows/deploy-to-aws.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,13 @@ jobs:
5656
- name: Configure AWS Credentials
5757
uses: aws-actions/configure-aws-credentials@v1
5858
with:
59-
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
59+
aws-access-key-id: ${{ env.AWS_ACCESS_KEY_ID }}
6060
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
6161
aws-region: ap-southeast-2
6262

6363
- name: Serverless Deploy ....
6464
env:
65-
ENABLE_METRICS: 1
66-
COLOR_SCALE_NORMALISATION: LIN
65+
ENABLE_METRICS: 0
6766
run: |
6867
if [[ "${{github.base_ref}}" == "main" || "${{github.ref}}" == 'refs/heads/main' ]]; then
6968
STAGE=prod npm run-script deploy

serverless.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ package:
2323
- db.sqlite3
2424
- _sqlite3.cpython-310-x86_64-linux-gnu.so
2525
- nzshm_model_graphql_api/**
26-
- nshm/**
27-
- pipeline/**
28-
- staticfiles/**
2926

3027
custom:
3128
#serverless-wsgi settings

0 commit comments

Comments
 (0)