build: moved to manual forgejo build
Some checks failed
Build Gameflow Site / build (push) Failing after 22s

This commit is contained in:
Simeon Radivoev 2026-05-07 00:37:14 +03:00
parent ea97172142
commit bd2db9cd67
Signed by: simeonradivoev
GPG key ID: 7611A451D2A5D37A
4 changed files with 23 additions and 7 deletions

View file

@ -25,15 +25,30 @@ jobs:
git config --local http.${{ forge.server_url }}/${{ forge.repository }}.git/info/lfs/objects/batch.extraheader "$AUTH"
git lfs pull
- name: Install, build, and upload your site
uses: https://github.com/withastro/action@main
- name: Manual Bun Install
run: |
# Download and install via official script
curl -fsSL https://bun.sh/install | bash
# Manually add Bun to the PATH for subsequent steps
echo "BUN_INSTALL=$HOME/.bun" >> $GITHUB_ENV
echo "$HOME/.bun/bin" >> $GITHUB_PATH
# Force execution permissions just in case
chmod +x $HOME/.bun/bin/bun
# Verify it works immediately
$HOME/.bun/bin/bun --version
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Build Website
env:
GITHUB_TOKEN: ${{ secrets.API_GITHUB_TOKEN }}
SITE_BASE: /
SITE_URL: https://gameflow.simeonradivoev.com
with:
package-manager: "bun"
cache: false
run: bun run build
- name: Deploy
uses: https://github.com/up9cloud/action-rsync@master