chore: domain change.
This commit is contained in:
parent
5a020dd6fe
commit
d8f6e0c99f
16
.drone.yml
16
.drone.yml
@ -3,18 +3,6 @@ type: docker
|
|||||||
name: analyseAndBuild
|
name: analyseAndBuild
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: code-analysis
|
|
||||||
image: sonarsource/sonar-scanner-cli
|
|
||||||
detach: true
|
|
||||||
failure: ignore
|
|
||||||
commands:
|
|
||||||
- sonar-scanner -Dsonar.projectKey=cv -Dsonar.sources=. -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.login=$SONAR_LOGIN
|
|
||||||
environment:
|
|
||||||
SONAR_HOST_URL:
|
|
||||||
from_secret: sonarScannerHostUrl
|
|
||||||
SONAR_LOGIN:
|
|
||||||
from_secret: sonarScannerLogin
|
|
||||||
|
|
||||||
- name: buildAndTest
|
- name: buildAndTest
|
||||||
image: node:14
|
image: node:14
|
||||||
commands:
|
commands:
|
||||||
@ -72,7 +60,7 @@ steps:
|
|||||||
- name: scpFiles
|
- name: scpFiles
|
||||||
image: appleboy/drone-scp
|
image: appleboy/drone-scp
|
||||||
settings:
|
settings:
|
||||||
host: amine-louveau.fr
|
host: amine-bouabdallaoui.fr
|
||||||
username: ubuntu
|
username: ubuntu
|
||||||
key:
|
key:
|
||||||
from_secret: privateKey
|
from_secret: privateKey
|
||||||
@ -83,7 +71,7 @@ steps:
|
|||||||
- name: deploy
|
- name: deploy
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
settings:
|
settings:
|
||||||
host: amine-louveau.fr
|
host: amine-bouabdallaoui.fr
|
||||||
user: ubuntu
|
user: ubuntu
|
||||||
key:
|
key:
|
||||||
from_secret: privateKey
|
from_secret: privateKey
|
||||||
|
@ -16,7 +16,7 @@ function CV() {
|
|||||||
const [cv, setCV] = useState<Me>(new Me());
|
const [cv, setCV] = useState<Me>(new Me());
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
fetch(process.env.REACT_APP_API_BASE_URL + "/api/me")
|
fetch(/*process.env.REACT_APP_API_BASE_URL + */"https://amine-bouabdallaoui.fr/api/me")
|
||||||
.then(res => res.json())
|
.then(res => res.json())
|
||||||
.then(
|
.then(
|
||||||
(result: Me) => {
|
(result: Me) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user