678080f7c4
Sync campaigns / sync (push) Successful in 16s
Restyle the email template to Sunflower Acres' forest green/cream/sun yellow brand, rename the default listmonk template, replace the README with client-specific instructions, and add a real welcome campaign. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
24 lines
710 B
YAML
24 lines
710 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.4
|
|
|
|
- name: Sync template to listmonk
|
|
run: eec-campaigns template "sunfloweracres 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 }}
|