ci-update
This commit is contained in:
parent
0118cf42c6
commit
86ee656a3a
|
@ -5,6 +5,7 @@ on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: github.ref != 'refs/heads/feature/email-templates'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
|
@ -35,10 +36,9 @@ jobs:
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/feature/email-templates'
|
if: github.event_name == 'push' && github.ref == 'refs/heads/feature/email-templates'
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- uses: actions/checkout@v3
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: "Email confirmation template"
|
- name: "authorizer_email_confirmation template"
|
||||||
uses: gyto/mailgun-template-action@v2
|
uses: gyto/mailgun-template-action@v2
|
||||||
with:
|
with:
|
||||||
html-file: "./templates/authorizer_email_confirmation.html"
|
html-file: "./templates/authorizer_email_confirmation.html"
|
||||||
|
@ -46,7 +46,7 @@ jobs:
|
||||||
mailgun-domain: "discours.io"
|
mailgun-domain: "discours.io"
|
||||||
mailgun-template: "authorizer_email_confirmation"
|
mailgun-template: "authorizer_email_confirmation"
|
||||||
|
|
||||||
- name: "Password reset template"
|
- name: "authorizer_password_reset template"
|
||||||
uses: gyto/mailgun-template-action@v2
|
uses: gyto/mailgun-template-action@v2
|
||||||
with:
|
with:
|
||||||
html-file: "./templates/authorizer_password_reset.html"
|
html-file: "./templates/authorizer_password_reset.html"
|
||||||
|
@ -54,15 +54,15 @@ jobs:
|
||||||
mailgun-domain: "discours.io"
|
mailgun-domain: "discours.io"
|
||||||
mailgun-template: "authorizer_password_reset"
|
mailgun-template: "authorizer_password_reset"
|
||||||
|
|
||||||
- name: "First publication notification"
|
- name: "email_first_publication template"
|
||||||
uses: gyto/mailgun-template-action@v2
|
uses: gyto/mailgun-template-action@v2
|
||||||
with:
|
with:
|
||||||
html-file: "./templates/first_publication_notification.html"
|
html-file: "./templates/email_first_publication.html"
|
||||||
mailgun-api-key: ${{ secrets.MAILGUN_API_KEY }}
|
mailgun-api-key: ${{ secrets.MAILGUN_API_KEY }}
|
||||||
mailgun-domain: "discours.io"
|
mailgun-domain: "discours.io"
|
||||||
mailgun-template: "first_publication_notification"
|
mailgun-template: "email_first_publication"
|
||||||
|
|
||||||
- name: "New comment notification template"
|
- name: "new_comment_notification template"
|
||||||
uses: gyto/mailgun-template-action@v2
|
uses: gyto/mailgun-template-action@v2
|
||||||
with:
|
with:
|
||||||
html-file: "./templates/new_comment_notification.html"
|
html-file: "./templates/new_comment_notification.html"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user