From 657aef81ebb1ece7cfc1e47284c55ce627a6f1e5 Mon Sep 17 00:00:00 2001 From: Previo Prakasa Date: Sun, 3 Sep 2023 17:01:20 +0700 Subject: [PATCH] Create ci.yml --- .github/workflows/ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..212aa85 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,21 @@ +name: CI + +on: + [pull_request, push] + +env: + GITHUB_TOKEN: ${{ secrets.TOKEN }} + OWNER: ${{ github.repository_owner }} + +jobs: + cleanup: + runs-on: ubuntu-latest + permissions: write-all + + steps: + - name: Prune deployment + uses: ./ + with: + token: ${{ env.GITHUB_TOKEN }} + environment: github-pages + onlyRemoveDeployments: true