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
|
||||
|
||||
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
|
||||
|
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user