Commit ae523740 authored by Jacob Priddy's avatar Jacob Priddy 👌
Browse files

Just use the deploy token I made earlier cuase it works

parent 0732ba7f
Pipeline #9810 passed with stages
in 2 minutes and 51 seconds
......@@ -88,7 +88,7 @@ deploy_frontend_production:
- mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
script:
- "SSH_COMMAND_STRING=\"curl --location --header 'PRIVATE-TOKEN: ${CI_DEPLOY_PASSWORD}' '${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/jobs/artifacts/${CI_BUILD_REF_NAME}/download?job=build_web_frontend' --output frontend.zip\""
- "SSH_COMMAND_STRING=\"curl --location --header 'PRIVATE-TOKEN: ${DEPLOY_TOKEN}' '${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/jobs/artifacts/${CI_BUILD_REF_NAME}/download?job=build_web_frontend' --output frontend.zip\""
- SSH_COMMAND_STRING+=" && unzip frontend.zip && mv src/frontend/dist/ doorcode/src/frontend/"
- SSH_COMMAND_STRING+=" && rm -rf src/ frontend.zip"
- echo "$SSH_COMMAND_STRING"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment