ci: remove obsolete documentation release dispatch
This commit is contained in:
1 parent
bfa1723aed
commit
1ba524a709
1 file changed
-33
@@ -5,39 +5,6 @@ on:
|
|||||||
types: [released]
|
types: [released]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
trigger-docs-release:
|
|
||||||
name: Trigger Documentation Release
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
timeout-minutes: 2
|
|
||||||
steps:
|
|
||||||
- name: Obtain token
|
|
||||||
id: obtainToken
|
|
||||||
uses: actions/create-github-app-token@v3
|
|
||||||
with:
|
|
||||||
private-key: ${{ secrets.HOMARR_DOCS_RELEASE_APP_PRIVATE_KEY }}
|
|
||||||
app-id: ${{ vars.HOMARR_DOCS_RELEASE_APP_ID }}
|
|
||||||
owner: homarr-labs
|
|
||||||
repositories: |
|
|
||||||
documentation
|
|
||||||
permission-contents: write # required to dispatch repository workflow
|
|
||||||
- name: Trigger documentation release
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ steps.obtainToken.outputs.token }}
|
|
||||||
SOURCE_TAG: ${{ github.event.release.tag_name }}
|
|
||||||
run: |
|
|
||||||
curl -X POST \
|
|
||||||
-H "Authorization: token $GITHUB_TOKEN" \
|
|
||||||
-H "Accept: application/vnd.github+json" \
|
|
||||||
https://api.github.com/repos/homarr-labs/documentation/dispatches \
|
|
||||||
-d @- <<EOF
|
|
||||||
{
|
|
||||||
"event_type": "trigger-release",
|
|
||||||
"client_payload": {
|
|
||||||
"tag": "${SOURCE_TAG}"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
EOF
|
|
||||||
|
|
||||||
update-bug-report-template:
|
update-bug-report-template:
|
||||||
name: Update Bug Report Template
|
name: Update Bug Report Template
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in new issue
Block a user