fix: migrate deploy to self-hosted
Some checks failed
/ test (push) Successful in 2m26s
Build and Deploy Go App / build (push) Failing after 6m23s
Build and Deploy Go App / deploy (push) Has been skipped

This commit is contained in:
nihonium 2025-10-08 01:16:22 +03:00
parent ef65158b21
commit cf61edcef0
Signed by: nihonium
GPG key ID: 0251623741027CFC

View file

@ -8,16 +8,10 @@ on:
jobs:
build:
runs-on: docker
container:
image: golang:1.25.0
runs-on: self-hosted
# 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
@ -40,7 +34,7 @@ jobs:
path: nyanimedb.tar
deploy:
runs-on: docker
runs-on: self-hosted
needs: build
if: ${{ github.event.inputs.deploy == 'true' }} # manual deploy trigger
steps: