Update .github/workflows/main.yml
Some checks failed
Web Build / build (push) Has been cancelled

This commit is contained in:
암냥 2026-04-11 09:25:23 +00:00
commit 2e491845a5

View file

@ -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