Skip to content

Commit

Permalink
Merge pull request #486 from Kpoke/fix/deployment
Browse files Browse the repository at this point in the history
fix/deployment
  • Loading branch information
Kpoke authored Oct 8, 2024
2 parents 512be8d + 0a6fc99 commit f5434cb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/treetracker-wallet-api-build-deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
echo '${{ steps.package-version.outputs.current-version }}' > image-tag
- name: persist tag name
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: image-tag-${{github.sha}}
path: image-tag
Expand All @@ -81,15 +81,15 @@ jobs:
github.event_name == 'push' &&
github.repository == 'Greenstand/${{ github.event.repository.name }}'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: get-npm-version
id: package-version
uses: martinbeentjes/npm-get-version-action@master
with:
path: ./

- name: Download tag name
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: image-tag-${{github.sha}}

Expand Down Expand Up @@ -129,12 +129,12 @@ jobs:
ENVIRONMENT: dev

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Use Node.js 16.x
uses: actions/setup-node@v1
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: '16.x'
node-version: '20.x'

- name: Install mocha
run: npm install -g mocha
Expand Down
2 changes: 0 additions & 2 deletions server/infra/aws/s3.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
const { S3Client } = require('@aws-sdk/client-s3');

console.log(process.env.S3_REGION);

const s3 = new S3Client({
credentials: {
accessKeyId: process.env.S3_ACCESS_KEY_ID,
Expand Down

0 comments on commit f5434cb

Please sign in to comment.