Refactor dockerization & deployment #949
Workflow file for this run
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: Run first-time set-up for MacOS and Linux | |
on: | |
push: | |
branches: | |
- 'main' | |
- 'develop' | |
pull_request: | |
branches: | |
- 'main' | |
- 'develop' | |
paths: | |
- 'api/**' | |
- 'client/**' | |
- '.github/workflows/*' | |
- './docker-compose.yml' | |
jobs: | |
ubuntu-set-up: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set-up Docker | |
run: | | |
make install-docker-ubuntu | |
- name: Create environment file | |
run: | | |
cp .env.example.dev .env | |
- name: Initialize environment | |
run: | | |
make build |