initial
This commit is contained in:
21
.gitea/workflows/deploy.yml
Normal file
21
.gitea/workflows/deploy.yml
Normal file
@ -0,0 +1,21 @@
|
||||
name: Deploy bot
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
env:
|
||||
TOKEN: ${{ secrets.TOKEN }}
|
||||
GUILDID: ${{ secrets.GUILDID }}
|
||||
CLIENTID: ${{ secrets.CLIENTID }}
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Deploy with Docker Compose
|
||||
run: |
|
||||
docker compose down
|
||||
docker compose up -d --build
|
Reference in New Issue
Block a user