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/06/17 15:36:03 UTC
[airflow-site] 01/01: Nicer output and artifact
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch final-cleanup
in repository https://gitbox.apache.org/repos/asf/airflow-site.git
commit 081897cda96ffb793f6595960a5a3648b7b0d781
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Sat Jun 17 17:35:35 2023 +0200
Nicer output and artifact
---
.github/workflows/build.yml | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index d1274c38f6..b6dc892320 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -113,24 +113,22 @@ jobs:
working-directory: dist
run: |
../.github/scripts/print_df.sh
- git add . > ../git_add.log
- echo "::group::config"
+ echo "Running git config"
git config user.name "GitHub Actions"
git config user.email "actions@users.noreply.github.com"
- echo "::endgroup::"
- echo "::group::commit"
+ echo "Running git add"
+ git add .
+ ../.github/scripts/print_df.sh
+ echo "Running git commit"
git commit --amend --no-edit > ../git_commit.log
- echo "::group::push --force"
../.github/scripts/print_df.sh
- echo "::group::push --force"
git push --force origin gh-pages
- echo "::group::push --force"
../.github/scripts/print_df.sh
- - name: 🚀 Upload git logs as artifacts
+ - name: 🚀 Upload git commit log as artifacts
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with:
- name: airflow-sphinx-theme
- path: './git_*.log'
+ name: airflow-git-commit-log
+ path: './git_commit.log'
retention-days: 5
- name: 🔧 Copy files from site to theme
run: |