diff --git a/.github/workflows/on-release.yml b/.github/workflows/on-release.yml index 4d6d1bde..fa3879e3 100644 --- a/.github/workflows/on-release.yml +++ b/.github/workflows/on-release.yml @@ -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: @@ -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', diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 6b7b74c5..44c32041 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,4 @@ { - ".": "0.3.0" + ".": "0.3.0", + "include-component-in-tag": false } \ No newline at end of file