Skip to content

feat!: remove out-of-scope skill-authoring skill #114

feat!: remove out-of-scope skill-authoring skill

feat!: remove out-of-scope skill-authoring skill #114

name: Release Please
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: write # creates release commits and tags
pull-requests: write # creates and updates the release PR
jobs:
release-please:
runs-on: ubuntu-latest
outputs:
release_created: ${{ steps.release.outputs.release_created }}
tag_name: ${{ steps.release.outputs.tag_name }}
steps:
- uses: googleapis/release-please-action@c3fc4de07084f75a2b61a5b933069bda6edf3d5c # v4
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
notify-website:
needs: release-please
if: needs.release-please.outputs.release_created == 'true'
runs-on: ubuntu-latest
steps:
- name: Trigger website rebuild
run: |
curl -s -X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.WEBSITE_DISPATCH_TOKEN }}" \
https://api.github.com/repos/littlebearapps/littlebearapps.com/dispatches \
-d '{"event_type":"release-published","client_payload":{"repo":"pitchdocs","tag":"${{ needs.release-please.outputs.tag_name }}"}}'