diff --git a/.github/workflows/release_website.yaml b/.github/workflows/release_website.yaml index 4143db6..9c76c40 100644 --- a/.github/workflows/release_website.yaml +++ b/.github/workflows/release_website.yaml @@ -30,8 +30,8 @@ jobs: chmod 600 ".ssh/digital-ocean-playtechnique" #to stop the ssh permissions squawking at me mkdir -p ssl - echo '${{ secrets.PLAYTECHNIQUE_SSL_CRT}}' > 'ssl/private.key' - echo '${{ secrets.PLAYTECHNIQUE_SSL_CRT}}' > 'ssl/playtechnique.crt' + printf '${{ secrets.PLAYTECHNIQUE_WEBSITE_PRIVATE_KEY}}' > 'ssl/private.key' + printf '${{ secrets.PLAYTECHNIQUE_SSL_CRT}}' > 'ssl/playtechnique.crt' ansible-playbook -vvv website-deployment.yaml -i inventory.yaml -e "ssl_private_key=ssl/private.key" \ -e "ssl_certificate=ssl/playtechnique.crt" -e "ansible_user=playtechnique" --private-key .ssh/digital-ocean-playtechnique