Skip to content

Commit e543ab3

Browse files
quarckstert8m
authored andcommitted
change web_build workflow to rebuild openssl-library.org website
1 parent 25c1f8b commit e543ab3

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

.github/workflows/web_build.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
1-
###
2-
name: Automatic web build
1+
name: "Automatic web build"
2+
33
on:
44
push:
55
branches:
6-
- master
6+
- "master"
7+
78
jobs:
89
build_web_site:
9-
runs-on: [ web-builder-22.04 ]
10+
runs-on: "ubuntu-latest"
1011
steps:
11-
- name: Build_web
12-
run: /scripts/build_web.sh
13-
14-
12+
- name: "Trigger deployment workflow"
13+
run: |
14+
gh workflow run deploy-openssl-library-org.yml
15+
sleep 3
16+
RUN_ID=$(gh run list -w deploy-openssl-library-org.yml -L 1 --json databaseId -q ".[0].databaseId")
17+
gh run watch ${RUN_ID} --exit-status
18+
env:
19+
GH_REPO: "openssl/openssl-web"
20+
GH_TOKEN: ${{ secrets.OPENSSL_MACHINE_TOKEN }}

0 commit comments

Comments
 (0)