Skip to content
This repository has been archived by the owner on Jun 23, 2020. It is now read-only.

Commit

Permalink
Add S3 deployment to main GitHub action (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
zoul committed Jan 3, 2020
1 parent d67f408 commit 50554c6
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ on: [push]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Install deps
Expand All @@ -15,3 +13,13 @@ jobs:
run: make
- name: Test
run: npx elm-test
- uses: jakejarvis/[email protected]
with:
args: --acl public-read
env:
AWS_S3_BUCKET: 'i.ohlasy.info'
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET }}
AWS_REGION: 'eu-central-1'
SOURCE_DIR: 'build'
DEST_DIR: 'upload'

0 comments on commit 50554c6

Please sign in to comment.