Skip to content

Commit

Permalink
fix: release ci (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
salmanm committed Nov 3, 2021
1 parent 47c729d commit 4b79b37
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: release

on:
workflow_dispatch:
inputs:
semver:
description: "The semver to use"
required: true
default: "patch"
tag:
description: "The npm tag"
required: false
default: "latest"

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: nearform/optic-release-automation@v1.0.1
with:
github-token: ${{secrets.github_token}}
npm-token: ${{secrets.NPM_TOKEN}}
optic-token: ${{secrets.OPTIC_TOKEN}}
semver: ${{ github.event.inputs.semver }}
npm-tag: ${{ github.event.inputs.tag }}

0 comments on commit 4b79b37

Please sign in to comment.