fix: migrate deploy to host
This commit is contained in:
parent
8f5d28fefe
commit
9ae94d158b
1 changed files with 9 additions and 4 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue