Skip to content

Commit

Permalink
fix(actions): use s3 deploy action
Browse files Browse the repository at this point in the history
the action was a checkout, it was obviously wrong
  • Loading branch information
Francisco Moreno Cantero committed May 12, 2020
1 parent 2b3bc1d commit 43d5546
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,16 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build distribution
- name: Checkout
uses: actions/checkout@v2
- name: Set up Node version
uses: actions/setup-node@v1
with:
node-version: '12.x'
- run: npm install
- run: npm run build
- name: Deploy into S3
uses: actions/checkout@v1
uses: opspresso/action-s3-sync@master
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Expand Down

0 comments on commit 43d5546

Please sign in to comment.