build: moved to manual forgejo build
Some checks failed
Build Gameflow Site / build (push) Failing after 22s
Some checks failed
Build Gameflow Site / build (push) Failing after 22s
This commit is contained in:
parent
ea97172142
commit
bd2db9cd67
4 changed files with 23 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue