mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-29 12:34:21 +00:00
Going back to actions again
This commit is contained in:
parent
ec65ca11d6
commit
895d4b33a6
27
.github/workflows/deploy.yml
vendored
27
.github/workflows/deploy.yml
vendored
@ -45,14 +45,19 @@ jobs:
|
|||||||
|
|
||||||
sudo systemctl restart uwsgi
|
sudo systemctl restart uwsgi
|
||||||
|
|
||||||
sentry-release:
|
sentry:
|
||||||
- uses: actions/checkout@v2
|
runs-on: ubuntu-latest
|
||||||
- name: Create Sentry release
|
environment: production
|
||||||
uses: getsentry/action-release@v1
|
timeout-minutes: 30
|
||||||
env:
|
steps:
|
||||||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
- uses: actions/checkout@v3
|
||||||
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
|
|
||||||
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
- name: Sentry Release
|
||||||
SENTRY_URL: ${{ secrets.SENTRY_URL }}
|
uses: getsentry/action-release@v1.2.0
|
||||||
with:
|
env:
|
||||||
environment: production
|
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||||
|
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
|
||||||
|
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
||||||
|
SENTRY_URL: ${{ secrets.SENTRY_URL }}
|
||||||
|
with:
|
||||||
|
environment: production
|
||||||
|
2
.github/workflows/unittests.yml
vendored
2
.github/workflows/unittests.yml
vendored
@ -19,7 +19,7 @@ jobs:
|
|||||||
uses: technote-space/get-diff-action@v6
|
uses: technote-space/get-diff-action@v6
|
||||||
id: git-diff
|
id: git-diff
|
||||||
with:
|
with:
|
||||||
PATTERNS: +**/*.+(py)
|
PATTERNS: /**/*.py
|
||||||
|
|
||||||
- name: Set up python
|
- name: Set up python
|
||||||
if: steps.git-diff.outputs.diff
|
if: steps.git-diff.outputs.diff
|
||||||
|
Loading…
Reference in New Issue
Block a user