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:
|
||||
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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue