Skip to content
This repository was archived by the owner on Feb 19, 2023. It is now read-only.

Commit 336dd89

Browse files
authored
Merging 'develop' into master (#17)
* chore: clean up [#15] * chore: version bump [#15] * ops: fix GHA config[#15] * fix: secrets in condition [#15] * fix: meh[#15] * chore: update black [#15]
1 parent 301b048 commit 336dd89

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.env_example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ SECRET_KEY=test-key
33
ENV=dev
44
PROJECT_NAME=fastapi_backend_base
55
VERSION=v1
6-
ENABLE_BUILD=false
76

87
# Database
98
POSTGRES_USER=fastapibackendbase

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: run black
3838
working-directory: ./backend
3939
run: |
40-
pip install black==21.5b1
40+
pip install black==22.6.0
4141
black --check .
4242
4343
isort:
@@ -57,7 +57,7 @@ jobs:
5757
isort src
5858
5959
build_backend:
60-
if: ${{ secrets.ENABLE_BUILD }} == 'true'
60+
if: github.repository != 'nickatnight/fastapi-backend-base'
6161
runs-on: ubuntu-latest
6262
needs: [flake8,black,isort]
6363
name: Build backend
@@ -77,7 +77,7 @@ jobs:
7777
run: docker push ${{ secrets.REGISTRY }}/backend:${{ github.sha }}
7878

7979
build_proxy:
80-
if: ${{ secrets.ENABLE_BUILD }} == 'true'
80+
if: github.repository != 'nickatnight/fastapi-backend-base'
8181
runs-on: ubuntu-latest
8282
needs: [flake8,black]
8383
name: Build Nginx proxy

0 commit comments

Comments
 (0)