Skip to content

feat: Adds Git Runbook support #141

feat: Adds Git Runbook support

feat: Adds Git Runbook support #141

Workflow file for this run

name: Publish Release
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: node
token: ${{ secrets.INTEGRATIONS_FNM_BOT_TOKEN }}
- uses: actions/checkout@v3
if: ${{ steps.release.outputs.release_created }}
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
cache: 'npm'
node-version: 20
registry-url: 'https://registry.npmjs.org'
scope: '@octopusdeploy'
if: ${{ steps.release.outputs.release_created }}
- run: npm ci
if: ${{ steps.release.outputs.release_created }}
- run: npm publish --access=public
env:
NODE_AUTH_TOKEN: ${{ secrets.INTEGRATIONS_NPM_ACCESS_TOKEN }}
if: ${{ steps.release.outputs.release_created }}