This is an automated email from the ASF dual-hosted git repository. potiuk pushed a commit to branch cleanups-in-docs-builds in repository https://gitbox.apache.org/repos/asf/airflow-site.git
commit 0edd4be7efea6eda023f30a90e4e1e40b4324058 Author: Jarek Potiuk <[email protected]> AuthorDate: Sat Jun 17 17:04:33 2023 +0200 Cleanups for new docs actions * remove unused action * better log output for the custom git commands * uploaded git log as artifacts --- .github/actions/pre-commmit-action | 1 - .github/workflows/build.yml | 21 ++++++++++++++++++--- .gitmodules | 4 ---- 3 files changed, 18 insertions(+), 8 deletions(-) diff --git a/.github/actions/pre-commmit-action b/.github/actions/pre-commmit-action deleted file mode 160000 index 0764670bf3..0000000000 --- a/.github/actions/pre-commmit-action +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 0764670bf370aab253130d534e1eda7ff497dc60 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 838ad4b030..7ebe4971ea 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -112,12 +112,27 @@ jobs: if: ${{ github.event_name == 'push' }} working-directory: dist run: | - git add . + ../.github/scripts/print_df.sh + git add . > ../git_add.log + echo "::group::config" git config user.name "GitHub Actions" git config user.email "[email protected]" - git commit --amend --no-edit + echo "::endgroup::" + echo "::group::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 - - name: 🔧 Copy files from site to theme️ + echo "::group::push --force" + ../.github/scripts/print_df.sh + - name: 🚀 Upload git logs as artifacts + uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2 + with: + name: airflow-sphinx-theme + path: './git_*.log' + retention-days: 5 + - name: 🔧 Copy files from site to theme run: | ./site.sh prepare-theme ./.github/scripts/print_df.sh diff --git a/.gitmodules b/.gitmodules index df609dfbae..584425d26c 100644 --- a/.gitmodules +++ b/.gitmodules @@ -18,10 +18,6 @@ [submodule "landing-pages/site/themes/docsy"] path = landing-pages/site/themes/docsy url = https://github.com/google/docsy.git - [submodule ".github/actions/pre-commmit-action"] path = .github/actions/pre-commmit-action url = [email protected]:pre-commit/action.git -[submodule ".github/actions/JamesIves-github-pages-deploy-action"] - path = .github/actions/JamesIves-github-pages-deploy-action - url = [email protected]:JamesIves/github-pages-deploy-action.git
