add jenkins manual deploy
All checks were successful
CI-pipeline / linters (pull_request) Successful in 1m14s
All checks were successful
CI-pipeline / linters (pull_request) Successful in 1m14s
This commit is contained in:
16
.github/workflows/jenkins-deploy.yml
vendored
Normal file
16
.github/workflows/jenkins-deploy.yml
vendored
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
name: Deploy on server
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Deploy:
|
||||||
|
name: Deploy
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Trigger Jenkins jobs
|
||||||
|
uses: appleboy/jenkins-action@master
|
||||||
|
with:
|
||||||
|
url: "http://ci.saccada.xyz"
|
||||||
|
user: ${{ env.JENKINS_USERNAME }}
|
||||||
|
token: ${{ secrets.JENKINS_TOKEN }}
|
||||||
|
job: "Deploy Django application"
|
||||||
Reference in New Issue
Block a user