This is an automated email from the ASF dual-hosted git repository.
mgrigorov pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/avro.git
The following commit(s) were added to refs/heads/main by this push:
new d794e522e Checkout the project in the publish job
d794e522e is described below
commit d794e522ef9e06922b28c6ef268b9f6c02fd4f91
Author: Martin Tzvetanov Grigorov <[email protected]>
AuthorDate: Thu Aug 22 16:25:34 2024 +0300
Checkout the project in the publish job
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
---
.github/workflows/deploy-docs.yml | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/deploy-docs.yml
b/.github/workflows/deploy-docs.yml
index af2380df3..448b2e892 100644
--- a/.github/workflows/deploy-docs.yml
+++ b/.github/workflows/deploy-docs.yml
@@ -198,6 +198,9 @@ jobs:
needs: [build-website, build-api-c, build-api-cpp, build-api-csharp,
build-api-java, build-api-python]
runs-on: ubuntu-latest
steps:
+ - name: Checkout
+ uses: actions/checkout@v4
+
- name: Download website
uses: actions/download-artifact@v4
with:
@@ -234,7 +237,7 @@ jobs:
name: api-python
path: api-python
- - name: Copy & push the generated HTML
+ - name: Copy the generated HTML
run: |
set -x
@@ -248,10 +251,9 @@ jobs:
mv api-python/* $WEBSITE_API/python/html/
rmdir api-c api-c++ api-csharp api-java api-python
- - name: Commit new site
+ - name: Push the new website
run: |
set -ex
- ls -la
rsync \
-a \
--delete \
@@ -262,7 +264,6 @@ jobs:
whoami: asf-site
" > .asf.yaml
touch .nojekyll
- ls -la
git config --global user.email "[email protected]"
git config --global user.name "Github Actions"
git checkout --orphan asf-site-staging