Merge pull request #32 from echtyushi/dependabot/npm_and_yarn/tar-6.2.1 #72
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: Build and deploy | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Build Docker image | |
run: | | |
docker-compose build | |
- name: Deploy Docker container | |
run: | | |
docker-compose up -d | |
env: | |
NODE_ENV: development | |
APP_TOKEN: ${{ secrets.APP_TOKEN }} | |
MONGO_URI: ${{ secrets.MONGO_URI }} |