mirror of
https://github.com/openssl/openssl.git
synced 2026-05-07 20:12:39 +00:00
33ec173876
https://docs.zizmor.sh/audits/#template-injection Reviewed-by: Neil Horman <nhorman@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/28982)
27 lines
672 B
YAML
27 lines
672 B
YAML
name: "Trigger docs.openssl.org deployment"
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- "openssl-3.[0-9]+"
|
|
- "master"
|
|
paths:
|
|
- "doc/man*/**"
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
trigger:
|
|
if: github.repository == 'openssl/openssl'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: "Trigger deployment workflow"
|
|
run: |
|
|
gh workflow run -f branch=${GITHUB_REF_NAME} deploy-site.yaml
|
|
sleep 3
|
|
RUN_ID=$(gh run list -w deploy-site.yaml -L 1 --json databaseId -q ".[0].databaseId")
|
|
gh run watch ${RUN_ID} --exit-status
|
|
env:
|
|
GH_REPO: "openssl/openssl-docs"
|
|
GH_TOKEN: ${{ secrets.OPENSSL_MACHINE_TOKEN }}
|