major: refactor project #1
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: Docker CI | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
deploy: | |
runs-on: mainserver-pez | |
env: | |
configfile: ${{ secrets.CONFIGFILE }} | |
responsesfile: ${{ secrets.RESPONSESFILE }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Update containers | |
run: docker compose pull | |
- name: Build application | |
run: docker compose build | |
- name: Spin up containers | |
run: docker compose up -d |