-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
1 changed file
with
7 additions
and
6 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 |
---|---|---|
|
@@ -28,7 +28,7 @@ jobs: | |
python -m pip install --upgrade pip | ||
pip install poetry | ||
poetry install | ||
sudo apt install language-pack-nb | ||
sudo apt install -y language-pack-nb wkhtmltopdf | ||
sudo dpkg-reconfigure locales | ||
locale -a | ||
- name: Generate reports | ||
|
@@ -45,6 +45,7 @@ jobs: | |
name: zaptec-reports | ||
path: | | ||
*.html | ||
- name: Send reports via e-mail | ||
uses: dawidd6/action-send-mail@v3 | ||
with: | ||
|
@@ -53,9 +54,9 @@ jobs: | |
secure: true | ||
username: ${{ secrets.MAIL_USERNAME }} | ||
password: ${{ secrets.MAIL_PASSWORD }} | ||
subject: Github Actions job result | ||
to: [email protected],[email protected] | ||
from: Øyvind Evju # <[email protected]> | ||
body: Build job of ${{github.repository}} completed successfully! | ||
subject: Zaptec Cost reports are ready | ||
to: [email protected] | ||
from: Øyvind Evju | ||
body: Zaptec Cost reports are attached | ||
cc: [email protected] | ||
attachments: "*.html" | ||
attachments: "*.pdf" |