fix: migrate deploy to host
Some checks failed
Build and Deploy Go App / build (push) Has been cancelled
Build and Deploy Go App / deploy (push) Has been cancelled

This commit is contained in:
nihonium 2025-10-08 01:39:14 +03:00
parent 8f5d28fefe
commit 9ae94d158b
Signed by: nihonium
GPG key ID: 0251623741027CFC

View file

@ -8,10 +8,15 @@ on:
jobs: jobs:
build: build:
runs-on: self-hosted runs-on: host
# container: container:
# image: golang:1.25.0 image: golang:1.25.0
steps: steps:
- name: Install Node
run: |
apt update
apt-get install -y nodejs
node -v
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -34,7 +39,7 @@ jobs:
path: nyanimedb.tar path: nyanimedb.tar
deploy: deploy:
runs-on: self-hosted runs-on: host
needs: build needs: build
if: ${{ github.event.inputs.deploy == 'true' }} # manual deploy trigger if: ${{ github.event.inputs.deploy == 'true' }} # manual deploy trigger
steps: steps: