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
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@
|
|||
},
|
||||
"scripts": {
|
||||
"dev": "astro dev",
|
||||
"dev:host": "astro dev --host",
|
||||
"build": "astro build",
|
||||
"preview": "astro preview",
|
||||
"astro": "astro"
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue