Skip to content

Commit

Permalink
rebuild openssl-library.org on changes
Browse files Browse the repository at this point in the history
  • Loading branch information
quarckster committed Aug 29, 2024
1 parent c4eab15 commit 6828fbd
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/deploy-openssl-library-org.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: "Trigger openssl-library.org deployment"

on:
push:
branches:
- "main"
paths:
- "secadv/**/**"
- "secjson/**/**"
- "newsflash.txt"
workflow_dispatch:

jobs:
trigger:
runs-on: "ubuntu-latest"
steps:
- name: "Trigger deployment workflow"
run: |
gh workflow run deploy-openssl-library-org.yml
sleep 3
RUN_ID=$(gh run list -w deploy-openssl-library-org.yml -L 1 --json databaseId -q ".[0].databaseId")
gh run watch ${RUN_ID} --exit-status
env:
GH_REPO: "openssl/openssl-web"
GH_TOKEN: ${{ secrets.OPENSSL_MACHINE_TOKEN }}

0 comments on commit 6828fbd

Please sign in to comment.