mirror of
https://github.com/jonathan-martz/pocketbase-php-sdk.git
synced 2026-04-02 23:17:43 +00:00
add workflow for tdd
This commit is contained in:
30
.github/workflows/tdd.yml
vendored
Normal file
30
.github/workflows/tdd.yml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
name: Run Mailer
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [tdd]
|
||||
pull_request:
|
||||
branches: [tdd]
|
||||
|
||||
jobs:
|
||||
run-mailer:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: '1.23.4'
|
||||
|
||||
- name: Run mailer
|
||||
env:
|
||||
MAILER_SENDER: ${{ secrets.MAILER_SENDER }}
|
||||
MAILER_USER: ${{ secrets.MAILER_USER }}
|
||||
MAILER_PASSWORD: ${{ secrets.MAILER_PASSWORD }}
|
||||
run: |
|
||||
go run mailer.go \
|
||||
-sender ${{ secrets.MAILER_SENDER }} \
|
||||
-smtpUser ${{ secrets.MAILER_USER }} \
|
||||
-smtpPassword ${{ secrets.MAILER_PASSWORD }}
|
||||
Reference in New Issue
Block a user