Version 1.0.3-rc2 - Ajout du Workflow

This commit is contained in:
Raphael 2025-02-16 16:21:50 +01:00
parent 52e1348613
commit 1086d648de
3 changed files with 25 additions and 21 deletions

View File

@ -0,0 +1,23 @@
name: Deployment Pipeline
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Deploy Stage
run: |
echo "[Neutral-Deploy] - Deploy Stage"
ssh raphix@raphix.fr sudo apt update -y
ssh raphix@raphix.fr sudo apt upgrade -y
ssh raphix@raphix.fr sudo -S -u gitlab-ci /home/gitlab-ci/neutral_deploy.sh
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}

19
Jenkinsfile vendored
View File

@ -1,19 +0,0 @@
pipeline {
agent any
stages {
stage('[Neutral] - Déploiement') {
steps {
script {
echo "[Neutral-Deploy] - Deploy Stage"
sh "ssh raphix@raphix.fr sudo apt update -y"
sh "ssh raphix@raphix.fr sudo apt upgrade -y"
sh "ssh raphix@raphix.fr sudo -S -u gitlab-ci /home/gitlab-ci/neutral_deploy.sh"
}
}
}
}
}

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "neutral",
"version": "0.7.0",
"version": "1.0.3",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "neutral",
"version": "0.7.0",
"version": "1.0.3",
"license": "ISC",
"dependencies": {
"cookie-parser": "~1.4.4",