Compare commits
2 Commits
1dfe2b392f
...
b22837c36d
| Author | SHA1 | Date | |
|---|---|---|---|
| b22837c36d | |||
| 66a8ef91a5 |
18
.drone.yml
18
.drone.yml
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: ssh
|
||||
name: Stay Safe | Front-End | Pipeline de déploiement
|
||||
name: Stay Safe | Back-End | Pipeline de déploiement
|
||||
|
||||
clone:
|
||||
disable: true
|
||||
|
|
@ -17,19 +17,15 @@ server:
|
|||
steps:
|
||||
- name: Clonage du Repo
|
||||
commands:
|
||||
- git clone https://git.deligraph.be/Antoine/lhoist-stay-safe.git
|
||||
- git clone https://git.deligraph.be/Antoine/lhoist-stay-safe__backend-theme.git
|
||||
- name: Installation du package
|
||||
commands:
|
||||
- cd lhoist-stay-safe
|
||||
- cd lhoist-stay-safe__backend-theme
|
||||
- npm install
|
||||
- name: Build du package
|
||||
commands:
|
||||
- cd lhoist-stay-safe
|
||||
- npm run build
|
||||
- name: Génération du htAccess
|
||||
commands:
|
||||
- cd lhoist-stay-safe
|
||||
- cp .htaccess build/.htaccess
|
||||
- cd lhoist-stay-safe__backend-theme
|
||||
- npm run production
|
||||
- name: Déploiement sur le serveur de prod
|
||||
environment:
|
||||
PROD_SERVER_PATH:
|
||||
|
|
@ -38,7 +34,3 @@ steps:
|
|||
from_secret: prod_folder_path
|
||||
commands:
|
||||
- cd lhoist-stay-safe
|
||||
|
||||
|
||||
|
||||
|
||||
15
package-lock.json
generated
15
package-lock.json
generated
|
|
@ -519,9 +519,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/caniuse-lite": {
|
||||
"version": "1.0.30001597",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001597.tgz",
|
||||
"integrity": "sha512-7LjJvmQU6Sj7bL0j5b5WY/3n7utXUJvAe1lxhsHDbLmwX9mdL86Yjtr+5SRCyf8qME4M7pU2hswj0FpyBVCv9w==",
|
||||
"version": "1.0.30001663",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001663.tgz",
|
||||
"integrity": "sha512-o9C3X27GLKbLeTYZ6HBOLU1tsAcBZsLis28wrVzddShCS16RujjHp9GDHKZqrB3meE0YjhawvMFsGb/igqiPzA==",
|
||||
"dev": true,
|
||||
"funding": [
|
||||
{
|
||||
|
|
@ -536,7 +536,8 @@
|
|||
"type": "github",
|
||||
"url": "https://github.com/sponsors/ai"
|
||||
}
|
||||
]
|
||||
],
|
||||
"license": "CC-BY-4.0"
|
||||
},
|
||||
"node_modules/chalk": {
|
||||
"version": "4.1.2",
|
||||
|
|
@ -3684,9 +3685,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"caniuse-lite": {
|
||||
"version": "1.0.30001597",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001597.tgz",
|
||||
"integrity": "sha512-7LjJvmQU6Sj7bL0j5b5WY/3n7utXUJvAe1lxhsHDbLmwX9mdL86Yjtr+5SRCyf8qME4M7pU2hswj0FpyBVCv9w==",
|
||||
"version": "1.0.30001663",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001663.tgz",
|
||||
"integrity": "sha512-o9C3X27GLKbLeTYZ6HBOLU1tsAcBZsLis28wrVzddShCS16RujjHp9GDHKZqrB3meE0YjhawvMFsGb/igqiPzA==",
|
||||
"dev": true
|
||||
},
|
||||
"chalk": {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user