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

View file

@ -38,6 +38,7 @@
},
"scripts": {
"dev": "astro dev",
"dev:host": "astro dev --host",
"build": "astro build",
"preview": "astro preview",
"astro": "astro"

View file

@ -32,7 +32,7 @@ import { Image } from "astro:assets";
and controllers. Focused on building a simple user experience and
intuitive UI as a curated community driven experience.
</p>
<div class="flex gap-2 justify-center md:justify-start">
<div class="flex flex-wrap gap-2 justify-center md:justify-start">
<a
class="bg-primary rounded-full text-primary-content p-2 px-4 hover:bg-accent hover:text-accent-content cursor-pointer flex gap-2"
href={pkg.downloads}

View file

@ -18,7 +18,7 @@ import "../assets/style.css";
/>
<title>Gameflow Deck</title>
</head>
<body class="absolute left-0 top-0 right-0 bottom-0 border-2 border-red-400">
<body>
<slot />
</body>
</html>