You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by go...@apache.org on 2025/05/10 13:59:33 UTC
(airflow-site) branch add-workflow-dispatch created (now a6c8128712)
This is an automated email from the ASF dual-hosted git repository.
gopidesu pushed a change to branch add-workflow-dispatch
in repository https://gitbox.apache.org/repos/asf/airflow-site.git
at a6c8128712 Update github.event_name condition
This branch includes the following new commits:
new a6c8128712 Update github.event_name condition
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(airflow-site) 01/01: Update github.event_name condition
Posted by go...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
gopidesu pushed a commit to branch add-workflow-dispatch
in repository https://gitbox.apache.org/repos/asf/airflow-site.git
commit a6c8128712787d9dc144f99020a72ec0217cf928
Author: Pavan Kumar <go...@gmail.com>
AuthorDate: Sat May 10 14:59:02 2025 +0100
Update github.event_name condition
---
.github/workflows/build.yml | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 25e7784180..a9f9b5fa06 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -95,7 +95,7 @@ jobs:
pre-commit run --all-files
- name: 🗂 Checkout publish branch with minimum depth
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # 3.5.3
- if: ${{ github.event_name == 'push' }}
+ if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
with:
ref: publish
fetch-depth: 1
@@ -106,7 +106,7 @@ jobs:
/mnt/airflow-site/.github/scripts/print_df.sh
- name: Install AWS CLI v2
- if: ${{ github.event_name == 'push' }}
+ if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
run: |
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o /tmp/awscliv2.zip
unzip -q /tmp/awscliv2.zip -d /tmp
@@ -115,7 +115,7 @@ jobs:
rm -rf /tmp/aws/
- name: Configure AWS credentials
- if: ${{ github.event_name == 'push' }}
+ if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
uses: aws-actions/configure-aws-credentials@010d0da01d0b5a38af31e9c3470dbfdabdecca3a # v4.0.1
with:
aws-access-key-id: ${{ secrets.DOCS_AWS_ACCESS_KEY_ID }}
@@ -123,7 +123,7 @@ jobs:
aws-region: us-east-2
- name: Copy docs index page to S3 docs
- if: ${{ github.event_name == 'push' }}
+ if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
run: |
aws s3 cp ./dist/docs/index.html s3://live-docs-airflow-apache-org/docs/index.html
aws s3 cp ./dist/docs/index.xml s3://live-docs-airflow-apache-org/docs/index.xml
@@ -145,7 +145,7 @@ jobs:
if-no-files-found: error
retention-days: 14
- name: 👷 Copy .asf.yaml to /dist/
- if: ${{ github.event_name == 'push' }}
+ if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
run: |
# The asf.yaml file must be in the branch from which the files are published.
# Otherwise, ASF publising tools cannot detect it.
@@ -162,7 +162,7 @@ jobs:
run: |
python3 ./.github/scripts/refresh_pmc_committer_images.py
- name: 🚀 Add commit to publish branch and deploy it
- if: ${{ github.event_name == 'push' }}
+ if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
working-directory: dist
run: |
../.github/scripts/print_df.sh
@@ -222,7 +222,7 @@ jobs:
GITHUB_REF: ${{ github.ref }}
if: >
github.ref == 'refs/heads/main' && github.repository == 'apache/airflow-site' &&
- github.event_name == 'push'
+ (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
run: |
set -x
gh auth status