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