Files
repo-vis/.gitea/workflows/deploy.yml
2026-04-07 10:40:36 +01:00

25 lines
537 B
YAML

name: Deploy to OCI
on:
push:
branches:
- master
jobs:
deploy:
runs-on: self-hosted
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