From ef0f5be45a6767f651a229cc1a3041c92c4c0694 Mon Sep 17 00:00:00 2001 From: Jing Xu Date: Thu, 14 Sep 2023 07:09:06 +0900 Subject: [PATCH] add cleanup step in the workflow (#2040) --- .github/workflows/publish.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 31e597d0d..d0097e8d8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -78,5 +78,12 @@ jobs: needs: build steps: - name: Deploy - id: deployment uses: actions/deploy-pages@v2 + + cleanup: + runs-on: self-hosted + needs: deploy + steps: + - name: Cleanup + run: | + rm -rf ./*