Skip to content

V2.0.9

V2.0.9 #16

Workflow file for this run

name: Publish to NPM
on:
release:
types: [created]
jobs:
publish:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '12.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
updateDocs:
runs-on: ubuntu-20.04
if: success()
steps:
- name: Call update docs
env:
REPO: elfsquad/configurator
BRANCH: main
WORKFLOW_ID: 90731854
run: |
curl -fL --retry 3 -X POST -H "Accept: application/vnd.github.v3+json" -H "Authorization: token ${{ secrets.TOKEN }}" https://api.github.com/repos/${{ env.REPO }}/actions/workflows/${{ env.WORKFLOW_ID }}/dispatches -d '{"ref":"main", "inputs": {}}'