Skip to content

Commit ebdfa0e

Browse files
authored
Merge pull request #738 from 2anki/chore/d
chore(github): merge deploy and sentry workflow
2 parents 2f106f3 + f6562e4 commit ebdfa0e

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/deploy.2anki.net.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
build:
1010
runs-on: ubuntu-latest
11-
concurrency: "production"
11+
concurrency: 'production'
1212
steps:
1313
- uses: actions/checkout@v1
1414
- name: Dokku deploy
@@ -17,3 +17,12 @@ jobs:
1717
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
1818
HOST: 2anki.net
1919
PROJECT: notion
20+
- uses: actions/checkout@v2
21+
- name: Create Sentry release
22+
uses: getsentry/action-release@v1
23+
env:
24+
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
25+
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
26+
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
27+
with:
28+
environment: production

.github/workflows/sentry.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)