Removing main deployment job
This commit is contained in:
parent
fd63601dda
commit
a5731a48c3
@ -57,22 +57,24 @@ pages:
|
|||||||
- public/
|
- public/
|
||||||
|
|
||||||
# Deploys to the main blog
|
# Deploys to the main blog
|
||||||
deploy-shockrah.xyz:
|
# TODO: make sure this works with the latest infrastructure as the
|
||||||
stage: deploy
|
# server is used to deploy to is now gone
|
||||||
image: shockrah/ansible:latest
|
#deploy-shockrah.xyz:
|
||||||
needs:
|
# stage: deploy
|
||||||
- build-shockrah.xyz
|
# image: shockrah/ansible:latest
|
||||||
dependencies:
|
# needs:
|
||||||
- build-shockrah.xyz
|
# - build-shockrah.xyz
|
||||||
before_script:
|
# dependencies:
|
||||||
- eval "$(ssh-agent -s)"
|
# - build-shockrah.xyz
|
||||||
- echo "${CI_USER_KEY}" | tr -d '\r' | ssh-add -
|
# before_script:
|
||||||
- mkdir -p ~/.ssh/
|
# - eval "$(ssh-agent -s)"
|
||||||
- chmod 700 ~/.ssh/
|
# - echo "${CI_USER_KEY}" | tr -d '\r' | ssh-add -
|
||||||
- ssh-keyscan shockrah.xyz 2>&1 >> ~/.ssh/known_hosts
|
# - mkdir -p ~/.ssh/
|
||||||
- chmod 644 ~/.ssh/known_hosts
|
# - chmod 700 ~/.ssh/
|
||||||
script:
|
# - ssh-keyscan shockrah.xyz 2>&1 >> ~/.ssh/known_hosts
|
||||||
- ansible-playbook -i $INVENTORY scripts/deploy-blog.yml
|
# - chmod 644 ~/.ssh/known_hosts
|
||||||
|
# script:
|
||||||
|
# - ansible-playbook -i $INVENTORY scripts/deploy-blog.yml
|
||||||
|
|
||||||
|
|
||||||
# Deploy to neocities via their curl api
|
# Deploy to neocities via their curl api
|
||||||
|
Loading…
Reference in New Issue
Block a user