This commit is contained in:
parent
fef546b23f
commit
7748089595
@ -15,21 +15,7 @@ jobs:
|
||||
- name: Checkout code
|
||||
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
|
||||
run: |
|
||||
echo "Deploying with docker-compose..."
|
||||
cd /opt/artifacts/koneko-static-site
|
||||
docker compose down
|
||||
docker compose up -d --build
|
||||
|
@ -2,10 +2,10 @@ services:
|
||||
shiroprob:
|
||||
container_name: shiroprob-discord-bot
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- TOKEN=${TOKEN}
|
||||
- GUILDID=${GUILDID}
|
||||
- CLIENTID=${CLIENTID}
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
environment:
|
||||
- TOKEN=${TOKEN}
|
||||
- GUILDID=${GUILDID}
|
||||
- CLIENTID=${CLIENTID}
|
||||
|
Loading…
x
Reference in New Issue
Block a user