diff --git a/.drone.yml b/.drone.yml index f2d90d5..c38472f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 diff --git a/src/CV.tsx b/src/CV.tsx index aea39a9..1f0bc79 100644 --- a/src/CV.tsx +++ b/src/CV.tsx @@ -16,7 +16,7 @@ function CV() { const [cv, setCV] = useState(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) => {