Commit 2940338b authored by Jacob Priddy's avatar Jacob Priddy 👌
Browse files

Stop bulding frontend assets

parent 0d02fa75
Pipeline #12502 passed with stages
in 4 minutes and 10 seconds
......@@ -25,16 +25,16 @@ build_web_backend:
# Currently set to build timeout
expire_in: 1 day
build_web_frontend:
stage: build
script:
- cd src/frontend
- npm install
- npm run build --mode=production --dest=dist
artifacts:
paths:
- src/frontend/dist
expire_in: 1 day
#build_web_frontend:
# stage: build
# script:
# - cd src/frontend
# - npm install
# - npm run build --mode=production --dest=dist
# artifacts:
# paths:
# - src/frontend/dist
# expire_in: 1 day
test_php_styles:
stage: test
......@@ -126,21 +126,21 @@ deploy_api_docs:
only:
- master
deploy_frontend_production:
stage: deploy
before_script:
- eval $(ssh-agent -s)
- ssh-add <(echo "${SSH_PRIVATE_KEY}" | base64 -d -w 0)
- mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
script:
# Can't use the CI job token to deploy the artifact because that's a "pRemiUm FEATurE"
- "rsync -a --delete src/frontend/dist $SSH_USER@$SSH_HOST:/home/$SSH_USER/doorcode/src/frontend/"
# Make sure it is running
- "curl --insecure --location https://${SSH_HOST} | grep \"work properly without JavaScript enabled.\""
environment:
name: production_frontend
url: https://elock.cs.wallawalla.edu
when: manual
only:
- master
#deploy_frontend_production:
# stage: deploy
# before_script:
# - eval $(ssh-agent -s)
# - ssh-add <(echo "${SSH_PRIVATE_KEY}" | base64 -d -w 0)
# - mkdir -p ~/.ssh
# - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
# script:
# # Can't use the CI job token to deploy the artifact because that's a "pRemiUm FEATurE"
# - "rsync -a --delete src/frontend/dist $SSH_USER@$SSH_HOST:/home/$SSH_USER/doorcode/src/frontend/"
# # Make sure it is running
# - "curl --insecure --location https://${SSH_HOST} | grep \"work properly without JavaScript enabled.\""
# environment:
# name: production_frontend
# url: https://elock.cs.wallawalla.edu
# when: manual
# only:
# - master
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