Skip to content

chore(deps): bump ejs from 3.1.9 to 3.1.10 in /packages/hedgehog-core #185

chore(deps): bump ejs from 3.1.9 to 3.1.10 in /packages/hedgehog-core

chore(deps): bump ejs from 3.1.9 to 3.1.10 in /packages/hedgehog-core #185

Workflow file for this run

name: aws-s3-upload
on:
push:
branches:
- dev
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Use Node.js 16.x
uses: actions/setup-node@v1
with:
node-version: '16.x'
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install Dependencies
run: |
yarn --frozen-lockfile --non-interactive
- name: Build
run: yarn build
env:
CI: true
- 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
- name: Deploy static site to S3 bucket
run: aws s3 sync ./packages/hedgehog-website/build/ s3://preview-hlab --delete