Skip to content

Commit

Permalink
Undo send releases to sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
jorg-vr committed Jun 4, 2024
1 parent 7e5c9a0 commit 0817086
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 31 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/deploy-naos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,3 @@ jobs:
token: ${{secrets.GITHUB_TOKEN}}
label: deploy naos
type: remove
- name: Get tag name
id: tag_name
run: echo "tag_name=$(TZ='Europe/Brussels' date +'%Y.%m.%d-%H:%M')" >> "$GITHUB_ENV"
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Create Sentry release
uses: getsentry/action-release@v1
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: dodona
SENTRY_PROJECT: dodona-frontend
with:
environment: staging
version: ${{ env.tag_name }}
15 changes: 0 additions & 15 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,3 @@ jobs:
- name: Run deploy
run: |
echo "deploy production $GITHUB_SHA" | ssh -p 4840 [email protected]
- name: Get tag name
id: tag_name
run: echo "tag_name=$(TZ='Europe/Brussels' date +'%Y.%m.%d-%H:%M')" >> "$GITHUB_ENV"
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Create Sentry release
uses: getsentry/action-release@v1
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: dodona
SENTRY_PROJECT: dodona-frontend
with:
environment: production
version: ${{ env.tag_name }}
2 changes: 1 addition & 1 deletion .github/workflows/monthly-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
steps:
- name: Get tag name
id: tag_name
run: echo "tag_name=$(TZ='Europe/Brussels' date +'%Y.%m')" >> "$GITHUB_ENV"
run: echo "tag_name=$(date +'%Y.%m')" >> "$GITHUB_ENV"
- name: log tag name
run: echo ${{ env.tag_name }}
- uses: octokit/[email protected]
Expand Down

0 comments on commit 0817086

Please sign in to comment.