From 5278e9ab532d20b0c0475688259c1e613c1ba5b2 Mon Sep 17 00:00:00 2001 From: Cheng Pan Date: Tue, 23 Jul 2024 20:31:47 +0800 Subject: [PATCH] Fix asf-site deploy --- .github/workflows/asf-site.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/asf-site.yml b/.github/workflows/asf-site.yml index 42c7766c..49b2617f 100644 --- a/.github/workflows/asf-site.yml +++ b/.github/workflows/asf-site.yml @@ -25,3 +25,11 @@ jobs: publish_dir: content destination_dir: content force_orphan: true + - run: | + git fetch --all + git checkout asf-site + echo 'publish:' >> .asf.yaml + echo ' whoami: asf-site' >> .asf.yaml + git add .asf.yaml + git commit -m '.asf.yaml' --author "GitHub Actions " + git push origin asf-site