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 config --local http.${{ forge.server_url }}/${{ forge.repository }}.git/info/lfs/objects/batch.extraheader "$AUTH"
|
||||||
git lfs pull
|
git lfs pull
|
||||||
|
|
||||||
- name: Install, build, and upload your site
|
- name: Manual Bun Install
|
||||||
uses: https://github.com/withastro/action@main
|
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:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.API_GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.API_GITHUB_TOKEN }}
|
||||||
SITE_BASE: /
|
SITE_BASE: /
|
||||||
SITE_URL: https://gameflow.simeonradivoev.com
|
SITE_URL: https://gameflow.simeonradivoev.com
|
||||||
with:
|
run: bun run build
|
||||||
package-manager: "bun"
|
|
||||||
cache: false
|
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: https://github.com/up9cloud/action-rsync@master
|
uses: https://github.com/up9cloud/action-rsync@master
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,7 @@
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "astro dev",
|
"dev": "astro dev",
|
||||||
|
"dev:host": "astro dev --host",
|
||||||
"build": "astro build",
|
"build": "astro build",
|
||||||
"preview": "astro preview",
|
"preview": "astro preview",
|
||||||
"astro": "astro"
|
"astro": "astro"
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ import { Image } from "astro:assets";
|
||||||
and controllers. Focused on building a simple user experience and
|
and controllers. Focused on building a simple user experience and
|
||||||
intuitive UI as a curated community driven experience.
|
intuitive UI as a curated community driven experience.
|
||||||
</p>
|
</p>
|
||||||
<div class="flex gap-2 justify-center md:justify-start">
|
<div class="flex flex-wrap gap-2 justify-center md:justify-start">
|
||||||
<a
|
<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"
|
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}
|
href={pkg.downloads}
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ import "../assets/style.css";
|
||||||
/>
|
/>
|
||||||
<title>Gameflow Deck</title>
|
<title>Gameflow Deck</title>
|
||||||
</head>
|
</head>
|
||||||
<body class="absolute left-0 top-0 right-0 bottom-0 border-2 border-red-400">
|
<body>
|
||||||
<slot />
|
<slot />
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue