Skip to content

Commit

Permalink
Add gitLab trigger #31
Browse files Browse the repository at this point in the history
  • Loading branch information
geofranzi committed Oct 8, 2023
1 parent 470a453 commit cb3ddb4
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ name: Django CI
on:
push:
branches: [ '*' ]
pull_request:
branches: [ "master" ]

jobs:
build:
Expand Down Expand Up @@ -41,3 +39,20 @@ jobs:
python manage.py migrate
python manage.py check
name: trigger gitlab job

on:
push:
branches: [ 'master' ]

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: trigger Job
uses: appleboy/gitlab-ci-action@master
with:
url: "https://git.uni-jena.de/api/v4/projects/3567/trigger/pipeline"
token: ${{ secrets.TOKEN }}
project_id: 100

0 comments on commit cb3ddb4

Please sign in to comment.