Initial commit

This commit is contained in:
2026-07-30 11:30:00 +00:00
commit 88f62c7e09
7 changed files with 293 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
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.4
# TODO: rename "TEMPLATE default" below to "<this-repo-name> default"
# (or any name you like) as part of customizing this template.
- name: Sync template to listmonk
run: eec-campaigns template "TEMPLATE 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 }}