ci: modify for revenge builds
Some checks failed
Build / Build and push (push) Failing after 38s

This commit is contained in:
magmaus3 2024-02-10 12:37:41 +01:00
parent 0755af9366
commit 497f534c49
Signed by: magmaus3
GPG key ID: 966755D3F4A9B251

View file

@ -1,7 +1,7 @@
name: Build name: Build
on: on:
push: push:
branches: [rewrite] branches: [main]
jobs: jobs:
build: build:
@ -12,20 +12,18 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
repository: "vendetta-mod/builds" repository: "revenge-mod/builds"
path: "builds" path: "builds"
token: ${{ secrets.BEEF_TOKEN }} ssh-key: ${{ secrets.BUILDS_SSH_PRIVKEY }}
- uses: actions/setup-node@v3 ssh-strict: 'false'
with: - uses: oven-sh/setup-bun@v1
node-version: 16
- name: Install dependencies - name: Install dependencies
run: | run: |
npm i -g pnpm bun i
pnpm i
- name: Build - name: Build
run: pnpm build run: bun run build
- name: Push builds - name: Push builds
run: | run: |
@ -38,7 +36,8 @@ jobs:
git commit -m "Build $GITHUB_SHA" || exit 0 git commit -m "Build $GITHUB_SHA" || exit 0
git push git push
- name: Purge CDN cache ### NOTE: temporarily commented out since we're not on github
run: | # - name: Purge CDN cache
curl https://purge.jsdelivr.net/gh/vendetta-mod/builds # run: |
# curl https://purge.jsdelivr.net/gh/vendetta-mod/builds