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