From 86ee656a3a58f8f946708c0080e806ead5cb61b6 Mon Sep 17 00:00:00 2001 From: Untone Date: Wed, 7 Feb 2024 00:15:54 +0300 Subject: [PATCH] ci-update --- .gitea/workflows/main.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index 415c76a0..7cdb75fb 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -5,6 +5,7 @@ on: [push] jobs: test: runs-on: ubuntu-latest + if: github.ref != 'refs/heads/feature/email-templates' steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 @@ -35,10 +36,9 @@ jobs: if: github.event_name == 'push' && github.ref == 'refs/heads/feature/email-templates' continue-on-error: true steps: - - name: Checkout - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - - name: "Email confirmation template" + - name: "authorizer_email_confirmation template" uses: gyto/mailgun-template-action@v2 with: html-file: "./templates/authorizer_email_confirmation.html" @@ -46,7 +46,7 @@ jobs: mailgun-domain: "discours.io" mailgun-template: "authorizer_email_confirmation" - - name: "Password reset template" + - name: "authorizer_password_reset template" uses: gyto/mailgun-template-action@v2 with: html-file: "./templates/authorizer_password_reset.html" @@ -54,15 +54,15 @@ jobs: mailgun-domain: "discours.io" mailgun-template: "authorizer_password_reset" - - name: "First publication notification" + - name: "email_first_publication template" uses: gyto/mailgun-template-action@v2 with: - html-file: "./templates/first_publication_notification.html" + html-file: "./templates/email_first_publication.html" mailgun-api-key: ${{ secrets.MAILGUN_API_KEY }} 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 with: html-file: "./templates/new_comment_notification.html"