Skip to content
Snippets Groups Projects
Commit d4e28265 authored by Nico Vermaas's avatar Nico Vermaas
Browse files

adding CI/CD pipeline

parent de9029ff
No related branches found
No related tags found
2 merge requests!8Esap gui dev,!7Esap gui dev
Pipeline #5876 passed
...@@ -32,7 +32,8 @@ deploy-esap-gui: ...@@ -32,7 +32,8 @@ deploy-esap-gui:
- chmod 644 ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts
script: script:
- echo "Deploying to server" - echo "Deploying to server"
- scp -r build/* vermaas@sdc.astron.nl:~/temp - scp -r build/static vermaas@sdc.astron.nl:~/shared/static
- scp -r build/* vermaas@sdc.astron.nl:~/shared/public_html/esap-gui
- echo "Deployed" - echo "Deployed"
when: manual when: manual
only: only:
......
...@@ -7,7 +7,7 @@ export const GlobalContext = createContext(); ...@@ -7,7 +7,7 @@ export const GlobalContext = createContext();
export function GlobalContextProvider({ children }) { export function GlobalContextProvider({ children }) {
console.log("ASTRON ESAP version 19 nov 2020"); console.log("ASTRON ESAP version 19 nov 2020 - 16:00");
const api_host = const api_host =
process.env.NODE_ENV === "development" process.env.NODE_ENV === "development"
? "https://sdc.astron.nl:5555/esap-api/" ? "https://sdc.astron.nl:5555/esap-api/"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment