chagned network setup #39
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: stardrive | |
env: | |
discordToken: ${{ secrets.TOKEN_DISCORD }} | |
DB_PORT: ${{ secrets.DB_PORT }} | |
DB_IP: ${{ secrets.DB_IP }} | |
DBpassword: ${{ secrets.DB_PASSWORD }} | |
db_password_root: ${{ secrets.DB_PASSWORD_ROOT }} | |
token_uptime: ${{ secrets.TOKEN_UPTIME }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Update 3rd party docker containers | |
run: docker compose pull | |
- name: Build app | |
run: docker compose build | |
- name: Spin up containers | |
run: docker compose up -d |