Clarify positive feedback is optional #130
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
tags: | |
- 'v*' # Push events to matching v*, i.e. v1.0, v2.1.3 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js 14 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '14' | |
- run: npm install | |
- run: npm run lint | |
- run: npm run build | |
- run: cp build/ui-bundle.zip build/ui-bundle-${GITHUB_REF##*/}.zip | |
- run: cp build/ui-bundle.zip build/ui-bundle-latest.zip | |
env: | |
GITHUB_REF: ${{ github.ref }} | |
- name: Sync UI Bundle to S3 | |
uses: jakejarvis/s3-sync-action@master | |
with: | |
args: --follow-symlinks --include '*.zip' | |
env: | |
AWS_S3_BUCKET: ${{ secrets.STATIC_CONTENT_BUCKET }} | |
AWS_ACCESS_KEY_ID: ${{ secrets.DEVREL_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.DEVREL_SECRET_ACCESS_KEY }} | |
AWS_REGION: 'eu-west-1' | |
SOURCE_DIR: 'build' | |
DEST_DIR: 'build' |