Compare commits

..

No commits in common. "b22837c36d8e9b3fdb92e6db2035c3b14fcc3299" and "1dfe2b392f26d850cc30b316cad6aacdc38fb4aa" have entirely different histories.

2 changed files with 20 additions and 13 deletions

View File

@ -1,7 +1,7 @@
--- ---
kind: pipeline kind: pipeline
type: ssh type: ssh
name: Stay Safe | Back-End | Pipeline de déploiement name: Stay Safe | Front-End | Pipeline de déploiement
clone: clone:
disable: true disable: true
@ -17,15 +17,19 @@ server:
steps: steps:
- name: Clonage du Repo - name: Clonage du Repo
commands: commands:
- git clone https://git.deligraph.be/Antoine/lhoist-stay-safe__backend-theme.git - git clone https://git.deligraph.be/Antoine/lhoist-stay-safe.git
- name: Installation du package - name: Installation du package
commands: commands:
- cd lhoist-stay-safe__backend-theme - cd lhoist-stay-safe
- npm install - npm install
- name: Build du package - name: Build du package
commands: commands:
- cd lhoist-stay-safe__backend-theme - cd lhoist-stay-safe
- npm run production - npm run build
- name: Génération du htAccess
commands:
- cd lhoist-stay-safe
- cp .htaccess build/.htaccess
- name: Déploiement sur le serveur de prod - name: Déploiement sur le serveur de prod
environment: environment:
PROD_SERVER_PATH: PROD_SERVER_PATH:
@ -34,3 +38,7 @@ steps:
from_secret: prod_folder_path from_secret: prod_folder_path
commands: commands:
- cd lhoist-stay-safe - cd lhoist-stay-safe

15
package-lock.json generated
View File

@ -519,9 +519,9 @@
} }
}, },
"node_modules/caniuse-lite": { "node_modules/caniuse-lite": {
"version": "1.0.30001663", "version": "1.0.30001597",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001663.tgz", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001597.tgz",
"integrity": "sha512-o9C3X27GLKbLeTYZ6HBOLU1tsAcBZsLis28wrVzddShCS16RujjHp9GDHKZqrB3meE0YjhawvMFsGb/igqiPzA==", "integrity": "sha512-7LjJvmQU6Sj7bL0j5b5WY/3n7utXUJvAe1lxhsHDbLmwX9mdL86Yjtr+5SRCyf8qME4M7pU2hswj0FpyBVCv9w==",
"dev": true, "dev": true,
"funding": [ "funding": [
{ {
@ -536,8 +536,7 @@
"type": "github", "type": "github",
"url": "https://github.com/sponsors/ai" "url": "https://github.com/sponsors/ai"
} }
], ]
"license": "CC-BY-4.0"
}, },
"node_modules/chalk": { "node_modules/chalk": {
"version": "4.1.2", "version": "4.1.2",
@ -3685,9 +3684,9 @@
"dev": true "dev": true
}, },
"caniuse-lite": { "caniuse-lite": {
"version": "1.0.30001663", "version": "1.0.30001597",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001663.tgz", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001597.tgz",
"integrity": "sha512-o9C3X27GLKbLeTYZ6HBOLU1tsAcBZsLis28wrVzddShCS16RujjHp9GDHKZqrB3meE0YjhawvMFsGb/igqiPzA==", "integrity": "sha512-7LjJvmQU6Sj7bL0j5b5WY/3n7utXUJvAe1lxhsHDbLmwX9mdL86Yjtr+5SRCyf8qME4M7pU2hswj0FpyBVCv9w==",
"dev": true "dev": true
}, },
"chalk": { "chalk": {