ci: add Gitea Actions workflow for auto-deploy to OCI on main push
This commit is contained in:
19
.gitea/workflows/deploy.yml
Normal file
19
.gitea/workflows/deploy.yml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
name: Deploy to OCI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: self-hosted
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install frontend dependencies
|
||||||
|
run: cd web && npm ci
|
||||||
|
|
||||||
|
- name: Deploy to OCI
|
||||||
|
run: make deploy-oci
|
||||||
Reference in New Issue
Block a user