This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/attic.git
The following commit(s) were added to refs/heads/main by this push:
new 62c10d7 allow branch to serve as staging site
62c10d7 is described below
commit 62c10d77dc63fb836248fc398db31137b442f578
Author: Sebb <[email protected]>
AuthorDate: Sun May 4 07:57:24 2025 +0100
allow branch to serve as staging site
[skip ci]
---
.github/workflows/website.yml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml
index 5ec53e3..7523021 100644
--- a/.github/workflows/website.yml
+++ b/.github/workflows/website.yml
@@ -99,6 +99,10 @@ jobs:
echo "Running git config"
git config user.name "GitHub Actions"
git config user.email "[email protected]"
+ # Allow branch to serve as staging site
+ rm -rf output
+ mv asf-site/output .
+ rm -rf asf-site
echo "Running git add -A"
git add -A .
echo "Running git commit"