Skip to content

add env vars for aws secrets #2

add env vars for aws secrets

add env vars for aws secrets #2

Workflow file for this run

name: Build
on:
push:
# remove add_build_workflow after we've tested that this works
branches: [ master, add_build_workflow ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '10'
- name: Install dependencies
run: yarn
- name: Run Build
run: yarn run build
deploy:
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '10'
- name: Install dependencies
run: yarn
- name: Run Deploy
run: sh tools/cdn.sh
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}