Skip to content

Commit 1d2f727

Browse files
committed
whoops
1 parent e9430d0 commit 1d2f727

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

.github/workflows/build_docker.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Build Docker to GPR and Release
2+
3+
on: release:
4+
types: [published]
5+
6+
jobs:
7+
build-docker-image:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Pull source
11+
uses: actions/checkout@v1
12+
13+
- name: Build Docker image
14+
uses: actions/docker/cli@master
15+
with:
16+
args: build . -t modmail:{{ GITHUB_REF }}
17+
18+
- name: Save the image
19+
uses: actions/docker/cli@master
20+
with:
21+
args: save my-image:latest
22+
23+
- name: Upload to release
24+
uses: JasonEtco/upload-to-release@master
25+
with:
26+
args: my-image.tar
27+
env:
28+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

cogs/modmail.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ async def contact(
880880
ctx,
881881
user: Union[discord.Member, discord.User],
882882
*,
883-
category: discord.CategoryChannel = None
883+
category: discord.CategoryChannel = None,
884884
):
885885
"""
886886
Create a thread with a specified member.

0 commit comments

Comments
 (0)