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