This commit is contained in:
parent
44fa39d3dc
commit
2e491845a5
1 changed files with 9 additions and 9 deletions
18
.github/workflows/main.yml
vendored
18
.github/workflows/main.yml
vendored
|
|
@ -7,7 +7,7 @@ on:
|
|||
name: Web Build
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: x86_64
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
|
|
@ -41,11 +41,11 @@ jobs:
|
|||
tags: |
|
||||
ghcr.io/imnyang/imnya.ng:latest
|
||||
ghcr.io/imnyang/imnya.ng:${{ github.run_id }}
|
||||
update:
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- name: Pull and restart container
|
||||
run: |
|
||||
docker-compose -f /home/neko/Git/imnya.ng/compose.yml pull web
|
||||
docker-compose -f /home/neko/Git/imnya.ng/compose.yml up -d web
|
||||
needs: build
|
||||
# update:
|
||||
# runs-on: self-hosted
|
||||
# steps:
|
||||
# - name: Pull and restart container
|
||||
# run: |
|
||||
# docker-compose -f /home/neko/Git/imnya.ng/compose.yml pull web
|
||||
# docker-compose -f /home/neko/Git/imnya.ng/compose.yml up -d web
|
||||
# needs: build
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue