You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2023/10/22 20:27:00 UTC
[airflow-site] branch main updated: Switch docs-building to ASF self-hosted runner (#879)
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow-site.git
The following commit(s) were added to refs/heads/main by this push:
new 57e967d987 Switch docs-building to ASF self-hosted runner (#879)
57e967d987 is described below
commit 57e967d98732867ceb86c90c47c90f3119632be6
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Sun Oct 22 22:26:55 2023 +0200
Switch docs-building to ASF self-hosted runner (#879)
---
.github/workflows/build.yml | 3 +--
site.sh | 1 +
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index b6dc892320..e30a6f7570 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -24,8 +24,7 @@ on:
jobs:
build:
- runs-on: ubuntu-latest
-
+ runs-on: ["self-hosted", "asf-runner"]
steps:
# Based on https://github.com/actions/runner-images/issues/2840
- name: 🪓 Remove some stuff we don't need
diff --git a/site.sh b/site.sh
index 6a7eeabd70..a85e8e7211 100755
--- a/site.sh
+++ b/site.sh
@@ -241,6 +241,7 @@ shift
# Check commands
if [[ "${CMD}" == "install-node-deps" ]] ; then
+ npm install --global yarn
run_command "${MY_DIR}/landing-pages/" yarn install
elif [[ "${CMD}" == "preview-landing-pages" ]]; then
ensure_node_module_exists