Merge pull request #99 from VitorCarvalho67/dev #115
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
schedule: | |
-cron: '0 0 * * *' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Code checkout | |
uses: actions/checkout@v3 | |
- name: Docker-compose configurations | |
run: docker compose up -d | |
- name: Check if docker-compose is working | |
run: docker compose ps | |
- name: Stop and remove docker-compose containers | |
run: docker compose down |