Skip to content

ci: deploy on release only #25

ci: deploy on release only

ci: deploy on release only #25

Workflow file for this run

name: release
on:
push:
branches: [main]
permissions:
contents: write
pull-requests: write
jobs:
metadata:
runs-on: ubuntu-latest
outputs:
release-created: ${{ steps.metadata.outputs.release_created }}
steps:
- name: Update project metadata and release pull request
id: metadata
uses: googleapis/release-please-action@v4
with:
release-type: simple
deploy:

Check failure on line 22 in .github/workflows/release.yaml

View workflow run for this annotation

GitHub Actions / release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yaml (Line: 22, Col: 3): Error calling workflow 'NEIAAC/landing-page/.github/workflows/deploy.yaml@e8af15f9f039da213549e0597c37f1de8bafb6dd'. The workflow is requesting 'pages: write, id-token: write', but is only allowed 'pages: none, id-token: none'.
needs: [metadata]
if: ${{ needs.metadata.outputs.release-created}}
uses: ./.github/workflows/deploy.yaml