working
All checks were successful
Deploy bot / build-and-deploy (push) Successful in 10s

This commit is contained in:
koneko 2025-04-29 12:30:48 +02:00
parent fef546b23f
commit 7748089595
2 changed files with 4 additions and 18 deletions

View File

@ -15,21 +15,7 @@ jobs:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v3 uses: actions/checkout@v3
# use this as template if you need to build
#- name: Build project
# run: |
# echo "Running build..."
# ./build.sh
- name: Store artifact
run: |
echo "Storing artifact..."
mkdir -p /opt/artifacts/koneko-static-site
cp -r . /opt/artifacts/koneko-static-site/
- name: Deploy with Docker Compose - name: Deploy with Docker Compose
run: | run: |
echo "Deploying with docker-compose..."
cd /opt/artifacts/koneko-static-site
docker compose down docker compose down
docker compose up -d --build docker compose up -d --build

View File

@ -2,10 +2,10 @@ services:
shiroprob: shiroprob:
container_name: shiroprob-discord-bot container_name: shiroprob-discord-bot
restart: unless-stopped restart: unless-stopped
environment:
- TOKEN=${TOKEN}
- GUILDID=${GUILDID}
- CLIENTID=${CLIENTID}
build: build:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
environment:
- TOKEN=${TOKEN}
- GUILDID=${GUILDID}
- CLIENTID=${CLIENTID}