Files
repo-vis/.gitea/workflows/deploy.yml
Fam Zheng 720c32c485
Some checks failed
Deploy to OCI / deploy (push) Failing after 30s
ci: use login shell (bash -l) to fix npm PATH on host runner
2026-04-07 10:43:17 +01:00

28 lines
589 B
YAML

name: Deploy to OCI
on:
push:
branches:
- master
jobs:
deploy:
runs-on: self-hosted
defaults:
run:
shell: bash -l {0}
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