mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2025-07-23 23:29:06 +07:00
init
This commit is contained in:
27
.github/workflows/test.yml
vendored
Normal file
27
.github/workflows/test.yml
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
name: Test action
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
main:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
branch: [test]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
- name: Send mail
|
||||
uses: ./
|
||||
with:
|
||||
server_address: ${{secrets.ADDRESS}}
|
||||
server_port: 465
|
||||
username: ${{secrets.USERNAME}}
|
||||
password: ${{secrets.PASSWORD}}
|
||||
subject: ${{github.repository}}
|
||||
body: Test of action completed successfully!
|
||||
to: ${{secrets.USERNAME}}
|
||||
from: github-actions
|
Reference in New Issue
Block a user