This commit is contained in:
@ -1,20 +1,20 @@
|
||||
name: Deploy bot
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
env:
|
||||
TOKEN: ${{ secrets.TOKEN }}
|
||||
PREFIX: ${{ secrets.PREFIX }}
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
build-and-deploy:
|
||||
env:
|
||||
TOKEN: ${{ secrets.TOKEN }}
|
||||
PREFIX: ${{ secrets.PREFIX }}
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Deploy with Docker Compose
|
||||
run: |
|
||||
docker compose down
|
||||
docker compose up -d --build
|
||||
- name: Deploy with Docker Compose
|
||||
run: |
|
||||
docker compose down
|
||||
docker compose up -d
|
||||
|
Reference in New Issue
Block a user