gameflow-website/.forgejo/workflows/deploy.yml
Simeon Radivoev e8395a832e
Some checks failed
Build Gameflow Site / build (push) Failing after 1m6s
build: disabled cache for astro
2026-05-07 00:05:54 +03:00

48 lines
1.3 KiB
YAML

name: Build Gameflow Site
on:
push:
branches:
- master
jobs:
build:
runs-on: docker
container:
image: ghcr.io/catthehacker/ubuntu:js-22.04
steps:
- name: Checkout your repository using git
uses: actions/checkout@v5
with:
persist-credentials: "true"
- name: Checkout lfs
run: |
git lfs install --local
AUTH=$(git config --local http.${{ forge.server_url }}/.extraheader)
git config --local --unset http.${{ forge.server_url }}/.extraheader
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
env:
GITHUB_TOKEN: ${{ secrets.API_GITHUB_TOKEN }}
SITE_BASE:
SITE_URL: https://gameflow.simeonradivoev.com
with:
package-manager: "bun"
cache: false
- name: Deploy
uses: https://github.com/up9cloud/action-rsync@master
env:
HOST: simeonradivoev.com
PORT: 8083
KEY: ${{secrets.DEPLOY_SSH_KEY}}
TARGET: /static_websites/gameflow
SOURCE: ./dist/
VERBOSE: true
RUN_SCRIPT_ON: source
USER: linuxserver.io