chore: domain change.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/promote/production Build is passing

This commit is contained in:
aminecmi 2023-10-22 20:51:07 +02:00
parent 5a020dd6fe
commit d8f6e0c99f
2 changed files with 3 additions and 15 deletions

View File

@ -3,18 +3,6 @@ type: docker
name: analyseAndBuild
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
image: node:14
commands:
@ -72,7 +60,7 @@ steps:
- name: scpFiles
image: appleboy/drone-scp
settings:
host: amine-louveau.fr
host: amine-bouabdallaoui.fr
username: ubuntu
key:
from_secret: privateKey
@ -83,7 +71,7 @@ steps:
- name: deploy
image: appleboy/drone-ssh
settings:
host: amine-louveau.fr
host: amine-bouabdallaoui.fr
user: ubuntu
key:
from_secret: privateKey

View File

@ -16,7 +16,7 @@ function CV() {
const [cv, setCV] = useState<Me>(new Me());
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(
(result: Me) => {