Skip to content
This repository was archived by the owner on Aug 29, 2024. It is now read-only.

Commit 7e2ce46

Browse files
committed
Update doc_manual.yml
Update web_build.yml Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Anton Arapov <anton@openssl.org> (Merged from #465)
1 parent ba7f5fd commit 7e2ce46

File tree

2 files changed

+8
-38
lines changed

2 files changed

+8
-38
lines changed

.github/workflows/doc_manual.yml

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,11 @@ jobs:
1313
# This workflow contains a single job called "greet"
1414
build_doc_site:
1515
# The type of runner that the job will run on
16-
runs-on: [ ubuntu-22.04-self-hosted ]
16+
runs-on: [ doc-builder-22.04 ]
1717
# runs-on: [ self-hosted ]
1818

1919
# Steps represent a sequence of tasks that will be executed as part of the job
2020
steps:
21-
# Runs a single command using the runners shell
22-
- name: Show auth
23-
run: gcloud auth list
24-
- name: store secrets file
25-
run: |
26-
cat << EOF > /tmp/key.json
27-
${{ secrets.SERVICE_ACCOUNT_KEY }}
28-
EOF
29-
- name: activate service account
30-
run: gcloud auth activate-service-account --key-file=/tmp/key.json
31-
- name: Show auth
32-
run: gcloud auth list
33-
- name: Trigger doc build
34-
run: gcloud run jobs execute pu-cdn-build-doc-job-production --region europe-north1 --wait
35-
- name: Remove service account
36-
run: gcloud auth revoke
37-
- name: Remove access key file
38-
run: rm -f /tmp/key.json
21+
# Runs a single command using the runners shell
22+
- name: Build_web
23+
run: /scripts/build_doc.sh

.github/workflows/web_build.yml

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,31 +7,16 @@ on:
77
push:
88
branches:
99
- master
10-
- automation
1110
jobs:
1211
# This workflow contains a single job called "greet"
1312
build_web_site:
1413
# The type of runner that the job will run on
15-
runs-on: [ ubuntu-22.04-self-hosted ]
14+
runs-on: [ web-builder-22.04 ]
1615

1716
# Steps represent a sequence of tasks that will be executed as part of the job
1817
steps:
1918
# Runs a single command using the runners shell
20-
- name: Show available accounts
21-
run: gcloud auth list
22-
- name: Store service account key file
23-
run: |
24-
cat << EOF > /tmp/key.json
25-
${{ secrets.SERVICE_ACCOUNT_KEY }}
26-
EOF
27-
- name: Activate service account
28-
run: gcloud auth activate-service-account --key-file=/tmp/key.json
29-
- name: Show available accounts
30-
run: gcloud auth list
31-
- name: Trigger web build
32-
run: gcloud run jobs execute pu-cdn-build-web-job-production --region europe-north1 --wait
33-
- name: Remove service account
34-
run: gcloud auth revoke
35-
- name: Remove service account key file
36-
run: rm -f /tmp/key.json
19+
- name: Build_web
20+
run: /scripts/build_web.sh
21+
3722

0 commit comments

Comments
 (0)