Files
cateconners-campaigns/.gitea/workflows/sync-template.yml
T
will 79f6072cda
Sync campaigns / sync (push) Successful in 16s
Bump eec-campaigns pin to v0.1.6
Sent/running campaigns are now skipped (not rejected) during sync, so a
finished campaign like 2026-07-23-iron-rose-proof-approved no longer has
to be deleted just to keep sync green.
2026-08-13 13:25:17 -04:00

24 lines
707 B
YAML

name: Sync default campaign template
on:
workflow_dispatch: {}
jobs:
sync-template:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.23.1"
- name: Install eec-campaigns
run: go install gitea.reground.org/will/eec-campaigns@v0.1.6
- name: Sync template to listmonk
run: eec-campaigns template "cateconners default" email-templates/campaign.html
env:
LISTMONK_BASE_URL: ${{ secrets.CAMPAIGNS_LISTMONK_BASE_URL }}
LISTMONK_API_USER: ${{ secrets.CAMPAIGNS_LISTMONK_API_USER }}
LISTMONK_API_TOKEN: ${{ secrets.CAMPAIGNS_LISTMONK_API_TOKEN }}