Skip to content

Commit

Permalink
nix
Browse files Browse the repository at this point in the history
  • Loading branch information
YannickFuereder committed Mar 22, 2024
1 parent 26cd289 commit 7210129
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ jobs:

- name: Replace Config variables
run: |
ssh staging "sudo sed -i 's/!<oauth_client_id>/${{ secrets.OAUTH_CLIENT_ID }}/g' /home/$SSH_USER/$REPO_NAME/roundcubemail-1.7-git/config/config.inc.php"
ssh staging "sudo sed -i 's/!<oauth_client_secret>/${{ secrets.OAUTH_CLIENT_SECRET }}/g' /home/$SSH_USER/$REPO_NAME/roundcubemail-1.7-git/config/config.inc.php"
ssh staging "sudo sed -i 's@!<oauth_client_id>@${{ secrets.OAUTH_CLIENT_ID }}@g' /home/$SSH_USER/$REPO_NAME/roundcubemail-1.7-git/config/config.inc.php"
ssh staging "sudo sed -i 's@!<oauth_client_secret>@${{ secrets.OAUTH_CLIENT_SECRET }}@g' /home/$SSH_USER/$REPO_NAME/roundcubemail-1.7-git/config/config.inc.php"
- name: Delete current deployed files
run: ssh staging 'sudo rm -r -d /var/www/mail2/'
Expand Down

0 comments on commit 7210129

Please sign in to comment.