Skip to content

Bump semver from 5.7.1 to 5.7.2 in /vue #22

Bump semver from 5.7.1 to 5.7.2 in /vue

Bump semver from 5.7.1 to 5.7.2 in /vue #22

Workflow file for this run

name: Deploy
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Build
run: |
cd vue
npm i -g yarn
yarn install
yarn build
- uses: actions/upload-artifact@master
with:
name: buid-artifact
path: vue/dist
deploy:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/download-artifact@master
with:
name: buid-artifact
path: vue/dist
- uses: jakejarvis/s3-sync-action@master
with:
args: --acl public-read --follow-symlinks --delete
env:
AWS_S3_BUCKET: ${{ secrets.ASTRONOMY_API_DEMO_AWS_S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: 'us-east-1'
SOURCE_DIR: 'vue/dist'