Files
repo-vis/.gitea/workflows/deploy.yml
Fam Zheng 8111812d3b
Some checks failed
Deploy to OCI / deploy (push) Failing after 0s
ci: fix PATH for host runner - include /usr/bin and cargo bin
2026-04-07 10:41:27 +01:00

27 lines
661 B
YAML

name: Deploy to OCI
on:
push:
branches:
- master
jobs:
deploy:
runs-on: self-hosted
env:
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/fam/.cargo/bin:/home/fam/.local/bin
steps:
- name: Checkout
run: |
if [ -d .git ]; then
git fetch origin master && git reset --hard origin/master && git clean -fd
else
git clone ${{ gitea.server_url }}/${{ gitea.repository }} . && git checkout ${{ gitea.sha }}
fi
- name: Install frontend dependencies
run: cd web && npm ci
- name: Deploy to OCI
run: make deploy-oci