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
|
name: Web Build
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: x86_64
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v5
|
||||||
|
|
@ -41,11 +41,11 @@ jobs:
|
||||||
tags: |
|
tags: |
|
||||||
ghcr.io/imnyang/imnya.ng:latest
|
ghcr.io/imnyang/imnya.ng:latest
|
||||||
ghcr.io/imnyang/imnya.ng:${{ github.run_id }}
|
ghcr.io/imnyang/imnya.ng:${{ github.run_id }}
|
||||||
update:
|
# update:
|
||||||
runs-on: self-hosted
|
# runs-on: self-hosted
|
||||||
steps:
|
# steps:
|
||||||
- name: Pull and restart container
|
# - name: Pull and restart container
|
||||||
run: |
|
# run: |
|
||||||
docker-compose -f /home/neko/Git/imnya.ng/compose.yml pull web
|
# 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
|
# docker-compose -f /home/neko/Git/imnya.ng/compose.yml up -d web
|
||||||
needs: build
|
# needs: build
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue