fix: unable to debug in firefox #47
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: Continuous Deployment | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
cd: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Checking code for styling issues | |
run: | | |
make format | |
- name: Checking code for linting issues | |
run: | | |
make lint | |
- name: Checking 'debug' code builds | |
run: | | |
sudo make debug | |
- name: Checking 'release' code builds | |
run: | | |
sudo make release | |
- name: Publishing 'unstable' release to https://hub.docker.com | |
if: github.ref == 'refs/heads/master' | |
run: | | |
docker login -u $DOCKER_USERNAME -p $DOCKER_TOKEN | |
docker build --no-cache -t $DOCKER_USERNAME/$REPO_NAME:$GITHUB_SHA -t $DOCKER_USERNAME/$REPO_NAME:unstable . | |
docker push --all-tags $DOCKER_USERNAME/$REPO_NAME | |
env: | |
REPO_NAME: ${{ github.event.repository.name }} | |
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} | |
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }} | |
- name: Publishing 'stable' release to https://hub.docker.com | |
if: contains(github.ref, 'refs/tags/v') | |
run: | | |
docker login -u $DOCKER_USERNAME -p $DOCKER_TOKEN | |
docker build --no-cache -t $DOCKER_USERNAME/$REPO_NAME:${GITHUB_REF/refs\/tags\/v/} -t $DOCKER_USERNAME/$REPO_NAME:stable -t $DOCKER_USERNAME/$REPO_NAME:latest . | |
docker push --all-tags $DOCKER_USERNAME/$REPO_NAME | |
env: | |
REPO_NAME: ${{ github.event.repository.name }} | |
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} | |
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }} |