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