mail-on-star/.github/workflows/blank.yml
2020-03-21 08:56:40 -05:00

29 lines
943 B
YAML

name: Mail on Star
on:
watch:
types: [ started ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "email"
email:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: log github
run: |
echo ${{ github }}
- name: ✨ Send email, you star
uses: dawidd6/action-send-mail@v1.3.0
with:
server_address: smtp.gmail.com
server_port: 465
username: quadmx08
password: ${{ secrets.GMAIL_PASS }}
subject: Your a star ✨
body: Someone just starred your mail-on-star repo!!! https://github.com/WaylonWalker/mail-on-star/edit/master
to: ${{ secrets.GMAIL_ADDRESS }}
from: ${{ secrets.GMAIL_ADDRESS }}