From d4946aa8ccd7a296476d2882e447fa24dde20e22 Mon Sep 17 00:00:00 2001 From: SukkaW Date: Tue, 25 Mar 2025 00:22:02 +0800 Subject: [PATCH] CI: unarchive then re-archive dist repo --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fdfe8988..f8dfc0b8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -206,6 +206,7 @@ jobs: - name: Upload Dist to GitHub continue-on-error: true run: | + gh repo unarchive SukkaLab/ruleset.skk.moe --yes git clone --filter=tree:0 --no-tags https://${GH_USER}:${GH_TOKEN}@github.com/SukkaLab/ruleset.skk.moe.git ./deploy-git cd ./deploy-git git config --global push.default matching @@ -219,6 +220,7 @@ jobs: git push --quiet --force origin HEAD:master cd .. rm -rf ./deploy-git + gh repo archive SukkaLab/ruleset.skk.moe --yes env: GH_EMAIL: ${{ secrets.GIT_EMAIL }} GH_USER: ${{ secrets.GIT_USER }}