Skip to content

Revert "fix: node version" #35

Revert "fix: node version"

Revert "fix: node version" #35

Workflow file for this run

name: Build & upload to S3
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [8.17.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm ci
npm test --if-present
npm run build --if-present
env:
CI: true
- name: S3 Sync
uses: jakejarvis/[email protected]
with:
args: --acl public-read --follow-symlinks --delete
env:
AWS_S3_BUCKET: ovi-projects
AWS_ACCESS_KEY_ID: ${{ secrets.OVI_PROJECTS_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.OVI_PROJECTS_AWS_SECRET_ACCESS_KEY }}
AWS_REGION: 'eu-central-1'
DEST_DIR: 'jstank2016/latest'
SOURCE_DIR: 'build'