Testing build env for generated artifact s

This commit is contained in:
shockrah 2023-01-16 16:49:24 -08:00
parent eff17cc19d
commit bb79bccc9d

View File

@ -69,9 +69,10 @@ deploy-shockrah.xyz:
- echo "${CI_USER_KEY}" | tr -d '\r' | ssh-add - - echo "${CI_USER_KEY}" | tr -d '\r' | ssh-add -
- mkdir -p ~/.ssh/ - mkdir -p ~/.ssh/
- chmod 700 ~/.ssh/ - chmod 700 ~/.ssh/
- ssh-keyscan "$HOST" 2>&1 >> ~/.ssh/known_hosts - ssh-keyscan shockrah.xyz 2>&1 >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts
script: script:
- pwd && ls -Ra
- ansible-playbook -i $INVENTORY scripts/deploy-blog.yml - ansible-playbook -i $INVENTORY scripts/deploy-blog.yml