mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 14:13:21 +00:00
Merge pull request #452 from ae-utbm/actions
Going back to actions again
This commit is contained in:
commit
fc6cdba8e2
27
.github/workflows/deploy.yml
vendored
27
.github/workflows/deploy.yml
vendored
@ -44,15 +44,20 @@ jobs:
|
|||||||
poetry run ./manage.py compilemessages
|
poetry run ./manage.py compilemessages
|
||||||
|
|
||||||
sudo systemctl restart uwsgi
|
sudo systemctl restart uwsgi
|
||||||
|
|
||||||
|
sentry:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
environment: production
|
||||||
|
timeout-minutes: 30
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
sentry-release:
|
- name: Sentry Release
|
||||||
- uses: actions/checkout@v2
|
uses: getsentry/action-release@v1.2.0
|
||||||
- name: Create Sentry release
|
env:
|
||||||
uses: getsentry/action-release@v1
|
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||||
env:
|
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
|
||||||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
||||||
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
|
SENTRY_URL: ${{ secrets.SENTRY_URL }}
|
||||||
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
with:
|
||||||
SENTRY_URL: ${{ secrets.SENTRY_URL }}
|
environment: production
|
||||||
with:
|
|
||||||
environment: production
|
|
||||||
|
3
.github/workflows/unittests.yml
vendored
3
.github/workflows/unittests.yml
vendored
@ -19,7 +19,8 @@ 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