Skip to content

Commit

Permalink
Cannot get these blasted secrets writing to file...
Browse files Browse the repository at this point in the history
  • Loading branch information
gwynforthewyn committed Aug 20, 2024
1 parent 22d903f commit a57bfcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release_website.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a57bfcb

Please sign in to comment.