Skip to content

Merge pull request #7 from wednesday-solutions/alenbaby13-patch-1 #19

Merge pull request #7 from wednesday-solutions/alenbaby13-patch-1

Merge pull request #7 from wednesday-solutions/alenbaby13-patch-1 #19

Workflow file for this run

name: Continuous Deployment on PR
# 1
on:
pull_request:

Check failure on line 4 in .github/workflows/uat.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/uat.yml

Invalid workflow file

You have an error in your yaml syntax on line 4
branches:
- master
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
env: #2
SOURCE_DIR: './build/'
AWS_REGION: ${{ secrets.AWS_REGION }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
PATHS: '/*'
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
steps:
- uses: actions/checkout@v1 #1
- name: Get branch name #2
id: vars
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
- name: Install dependencies #33
run: yarn
- name: Build # 4
run: yarn build:uat
- name: AWS Deploy #5
uses: jakejarvis/[email protected]
with:
args: --acl public-read --follow-symlinks
env:
DEST_DIR: ${{steps.vars.outputs.branch}}