From f13fed76ec0f0db8476f1751a548f96ba19e405f Mon Sep 17 00:00:00 2001 From: Ian Dela Cruz Date: Sun, 23 Aug 2020 22:59:46 +0800 Subject: [PATCH] Fix githun actions --- .github/workflows/publish.yml | 6 ++++++ .github/workflows/push.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0b6a1e0..46b0367 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,6 +9,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - name: Configure AWS Credentials + uses: aws-actions/configure-aws-credentials@v1 + with: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-region: us-east-2 - uses: actions/setup-node@v1 with: node-version: '12.x' diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 50ddb63..6943976 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -11,6 +11,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - name: Configure AWS Credentials + uses: aws-actions/configure-aws-credentials@v1 + with: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-region: us-east-2 - uses: actions/setup-node@v1 with: node-version: '12.x'