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 0ada3440fc Nicer output and artifact (#817)
0ada3440fc is described below

commit 0ada3440fc64a85433230fa4801629d97518d6a0
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sat Jun 17 17:36:09 2023 +0200

    Nicer output and artifact (#817)
---
 .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 "[email protected]"
-          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: |

Reply via email to