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

Commit 220c585

Browse files
authored
merging 'develop' into master (#24)
* 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] * [#18] fix: add cerbot renew to nginx docker-entrypoint (#23) * chore: update create-release step
1 parent 336dd89 commit 220c585

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
- name: run black
5454
working-directory: ./backend
5555
run: |
56-
pip install isort==5.10.1
56+
pip install isort==5.12.0
5757
isort src
5858
5959
build_backend:
@@ -118,6 +118,8 @@ jobs:
118118
119119
create-release:
120120
needs: [flake8,black,isort]
121+
permissions:
122+
contents: write
121123
runs-on: ubuntu-latest
122124
steps:
123125
- name: checkout
@@ -126,7 +128,7 @@ jobs:
126128
fetch-depth: 0 # need this for all history for all branches and tags
127129
- name: Create Release
128130
id: create_release
129-
uses: nickatnight/releases-action@v3
131+
uses: nickatnight/releases-action@v5
130132
if: startsWith(github.ref, 'refs/tags/')
131133
env:
132134
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repos:
2121
- id: flake8
2222
args: ["--config=./backend/.flake8"]
2323
- repo: https://github.com/PyCQA/isort
24-
rev: 5.10.1
24+
rev: 5.12.0
2525
hooks:
2626
- id: isort
2727
args: ["--settings-path=./backend/pyproject.toml"]

backend/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ r-dogecoin-bot = { git = "https://github.com/nickatnight/r-dogecoin-bot", tag =
1818
[tool.poetry.dev-dependencies]
1919
black = "22.6.0"
2020
flake8 = "5.0.4"
21-
isort = "5.10.1"
21+
isort = "5.12.0"
2222
pytest = "6.2.3"
2323
pytest-cov = "2.12.0"
2424

proxy/docker-entrypoint.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ if [ ${#} -eq 0 ]; then
1212
if [[ "${ENABLE_SSL}" == "true" ]]; then
1313
echo "Installing Certbot"
1414
apk add --no-cache certbot \
15+
&& pip3 install --upgrade pip \
16+
&& pip3 install certbot-nginx \
1517
&& certbot certonly --standalone --agree-tos -m "${CERTBOT_EMAIL}" -n -d ${DOMAIN_LIST} \
1618
&& echo -e "#!/bin/sh\n\ncertbot renew --nginx" >/etc/periodic/daily/certbot-renew \
1719
&& chmod +x /etc/periodic/daily/certbot-renew

0 commit comments

Comments
 (0)