-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
094a175
commit 5398ad7
Showing
2 changed files
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,15 @@ jobs: | |
key: ${{ secrets.SSH_KEY }} | ||
source: "./public,./resources" | ||
target: ${{ secrets.RUST_DEPLOY_PATH }} | ||
|
||
- name: restart service | ||
uses: appleboy/[email protected] | ||
with: | ||
host: ${{ secrets.HOST }} | ||
username: ${{ secrets.USERNAME }} | ||
key: ${{ secrets.SSH_KEY }} | ||
script: | | ||
sudo systemctl stop avored.service | ||
sudo systemctl start avored.service | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ impl CmsService { | |
) -> Result<bool> { | ||
let from_address = String::from("[email protected]"); | ||
let to_address = String::from("[email protected]"); | ||
let email_subject = String::from("Contact us message"); | ||
let email_subject = String::from("Contact us message sent"); | ||
let sent_contact_email_message_body = template.handlebars.render("contact-us-email", &payload)?; | ||
|
||
let email = Message::builder() | ||
|