diff options
author | Dmitry Misharov <dmitry@openssl.org> | 2024-07-10 14:51:04 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2024-07-12 10:59:15 +0200 |
commit | 8b591dceeff52965dbde14a0e455c5d3548a2609 (patch) | |
tree | b052f0094b50602ab0853c09d548d53cad2ef74b /.github | |
parent | ignore various files in commit checker (diff) | |
download | openssl-8b591dceeff52965dbde14a0e455c5d3548a2609.tar.xz openssl-8b591dceeff52965dbde14a0e455c5d3548a2609.zip |
deploy docs.openssl.org on doc changes
Reviewed-by: Todd Short <todd.short@me.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24839)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/deploy-docs-openssl-org.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/deploy-docs-openssl-org.yml b/.github/workflows/deploy-docs-openssl-org.yml new file mode 100644 index 0000000000..7b8e6838a7 --- /dev/null +++ b/.github/workflows/deploy-docs-openssl-org.yml @@ -0,0 +1,23 @@ +name: "Trigger docs.openssl.org deployment" + +on: + push: + branches: + - "openssl-3.[0-9]+" + - "master" + paths: + - "doc/man*/**" + +jobs: + trigger: + 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 }} |