Skip to content

Commit

Permalink
Update release action to run on tag push so that pub publish works; f…
Browse files Browse the repository at this point in the history
…ixed github api typo
  • Loading branch information
thelukewalton committed Feb 5, 2024
1 parent de1da26 commit 1d6e407
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/on-release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: "CI - Release"
on:
workflow_dispatch:
release:
types: [released]
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+*"

jobs:
check-package:
Expand All @@ -29,11 +29,11 @@ jobs:
deploy-website:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
- uses: actions/github-script@v7
with:
github-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
script: |
await github.rest.actions.createworkflowDispatch({
await github.rest.actions.createWorkflowDispatch({
owner: 'zebratechnologies',
repo: 'zeta',
workflow_id: 'deploy-prod.yml',
Expand Down
3 changes: 2 additions & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
".": "0.3.0"
".": "0.3.0",
"include-component-in-tag": false
}

0 comments on commit 1d6e407

Please sign in to comment.