Skip to content

Commit

Permalink
67
Browse files Browse the repository at this point in the history
  • Loading branch information
collinlucke committed Nov 30, 2024
1 parent 5d048aa commit a06e049
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
- name: Decode and Write SSL Certificates
run: |
echo "${{ secrets.SSL_CERT_BASE64 }}" | base64 --decode > certfile.cer
echo "${{ secrets.SSL_PRIVATE_KEY_BASE64 }}" | base64 --decode > keyfile.key
echo "${{ secrets.SSL_CERT_INTERMEDIATE_BASE64 }}" | base64 --decode > intermediate.cer
echo "${{ secrets.SSL_CERT }}" | base64 --decode > certfile.cer
echo "${{ secrets.SSL_PRIVATE_KEY }}" | base64 --decode > keyfile.key
echo "${{ secrets.SSL_CERT_INTERMEDIATE }}" | base64 --decode > intermediate.cer
echo "SSL_CERT_PATH=certfile.cer" >> $GITHUB_ENV
echo "SSL_KEY_PATH=keyfile.key" >> $GITHUB_ENV
echo "SSL_CA_PATH=intermediate.cer" >> $GITHUB_ENV
Expand All @@ -46,7 +46,7 @@ jobs:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

- name: Deploy to Server
run: ssh -o StrictHostKeyChecking=no [email protected] 'C:/git/baphomet-server/deploy.sh'
run: ssh -o StrictHostKeyChecking=no [email protected] 'bash ~/deploy.sh'
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}

0 comments on commit a06e049

Please sign in to comment.