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