-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (41 loc) · 1.42 KB
/
check-cita.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Check Cita NIE
on:
push:
# schedule:
# - cron: '*/5 * * * *'
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout app
uses: actions/checkout@master
with:
fetch-depth: 0
- name: Run test
run: |
./check.sh
- name: Send mail
uses: dawidd6/action-send-mail@v3
with:
# Specify connection via URL (replaces server_address, server_port, secure,
# username and password)
#
# Format:
#
# * smtp://user:password@server:port
# * smtp+starttls://user:password@server:port
connection_url: ${{secrets.MAIL_CONNECTION}}
# Optional (recommended) mail server username:
username: ${{secrets.MAIL_USERNAME}}
# Optional (recommended) mail server password:
password: ${{secrets.MAIL_PASSWORD}}
# Required mail subject:
subject: Cita NIE disponible!
# Required recipients' addresses:
# Required sender full name (address can be skipped):
from: [email protected]
# Optional HTML body read from file:
html_body: <a href="https://sede.administracionespublicas.gob.es/pagina/index/directorio/icpplus">https://sede.administracionespublicas.gob.es/pagina/index/directorio/icpplus</a>
# Optional carbon copy recipients:
cc: