Skip to content

FIx Legal Accessibility changed link #142

FIx Legal Accessibility changed link

FIx Legal Accessibility changed link #142

Workflow file for this run

name: Release UI Bundle
on:
# Triggers the workflow on push events for any branch
push:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
release_ui_bundle:
runs-on: ubuntu-latest
name: "Build and release UI bundle"
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
steps:
- name: Set output
id: vars
run: echo ::set-output name=short_ref::$(echo ${GITHUB_REF}|sed -r 's#^refs/(heads|tags)/##g')
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js for use with actions
uses: actions/[email protected]
with:
version: 12.x
- name: Install NPM
run: npm install
- name: Create UI bundle
run: gulp bundle
- name: Create Release
id: create_release
uses: "marvinpinto/action-automatic-releases@latest"
with:
automatic_release_tag: ui-bundle/${{ steps.vars.outputs.short_ref }}
files: |
build/ui-bundle.zip
prerelease: false
repo_token: "${{ secrets.GITHUB_TOKEN }}"