From 80b8053d221aac011c2f45d7ceb534cc5da2e09d Mon Sep 17 00:00:00 2001 From: magmaus3 Date: Sat, 10 Feb 2024 12:37:41 +0100 Subject: [PATCH] ci: modify for revenge builds --- .github/workflows/build.yml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 90eccb8..6e96afa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,20 +12,17 @@ jobs: - uses: actions/checkout@v3 - uses: actions/checkout@v3 with: - repository: "vendetta-mod/builds" + repository: "revenge-mod/builds" path: "builds" - token: ${{ secrets.BEEF_TOKEN }} - - uses: actions/setup-node@v3 - with: - node-version: 16 + token: ${{ secrets.ACTIONS_TOKEN }} + - uses: oven-sh/setup-bun@v1 - name: Install dependencies run: | - npm i -g pnpm - pnpm i + bun i - name: Build - run: pnpm build + run: bun run build - name: Push builds run: | @@ -38,7 +35,9 @@ jobs: git commit -m "Build $GITHUB_SHA" || exit 0 git push - - name: Purge CDN cache - run: | - curl https://purge.jsdelivr.net/gh/vendetta-mod/builds + ### NOTE: temporarily commented out since we're not on github + ### + # - name: Purge CDN cache + # run: | + # curl https://purge.jsdelivr.net/gh/vendetta-mod/builds