mirror of
https://github.com/rommapp/romm.git
synced 2026-12-03 02:24:09 +01:00
chore(ci): drop the docs and website release triggers
Docs and the marketing site are released by hand now, so the trigger-docs-and-web job no longer has a job to do. Removing it also retires the last use of the DOCS_PAT secret, which can be revoked. The workflow name loses its "and Trigger Docs/Website" half, since building and pushing the image is all it does. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
29
.github/workflows/build.yml
vendored
29
.github/workflows/build.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: Build Docker Image and Trigger Docs/Website
|
||||
name: Build Docker Image
|
||||
|
||||
on:
|
||||
# push:
|
||||
@@ -270,30 +270,3 @@ jobs:
|
||||
|
||||
push_variant /tmp/digests/slim "$SLIM_METADATA"
|
||||
push_variant /tmp/digests/full "$FULL_METADATA"
|
||||
|
||||
trigger-docs-and-web:
|
||||
# Dispatches into other repositories with a PAT; GITHUB_TOKEN is unused.
|
||||
permissions: {}
|
||||
needs: merge
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event.release.prerelease == false
|
||||
steps:
|
||||
- name: Trigger docs build
|
||||
run: |
|
||||
curl -L -X POST \
|
||||
-H "Accept: application/vnd.github.v3+json" \
|
||||
-H "Authorization: Bearer ${DOCS_PAT}" \
|
||||
"https://api.github.com/repos/rommapp/docs/actions/workflows/deploy.yml/dispatches" \
|
||||
-d '{"ref":"main", "inputs": {"version": "${{ github.event.release.tag_name }}"}}'
|
||||
env:
|
||||
DOCS_PAT: ${{ secrets.DOCS_PAT }}
|
||||
|
||||
- name: Trigger website build
|
||||
run: |
|
||||
curl -L -X POST \
|
||||
-H "Accept: application/vnd.github.v3+json" \
|
||||
-H "Authorization: Bearer ${DOCS_PAT}" \
|
||||
"https://api.github.com/repos/rommapp/marketing-site/actions/workflows/deploy.yml/dispatches" \
|
||||
-d '{"ref":"main", "inputs": {"version": "${{ github.event.release.tag_name }}"}}'
|
||||
env:
|
||||
DOCS_PAT: ${{ secrets.DOCS_PAT }}
|
||||
|
||||
Reference in New Issue
Block a user