btcpay-plugin/.github/workflows/publish.yml
Claude a3869db496
rebrand(lethean): update branding, ports, and config for Lethean blockchain
- Coin: Zano → Lethean, ticker: ZAN/ZANO → LTHN
- Ports: 11211 → 36941 (mainnet RPC), 46941 (testnet RPC)
- Wallet: 11212 → 36944/46944
- Address prefix: iTHN
- URLs: zano.org → lethean.io
- Explorer links: explorer.lthn.io

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 22:24:13 +01:00

28 lines
No EOL
783 B
YAML

name: Publish Plugin on Tag
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
jobs:
build-plugin:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Extract GitRef (version tag)
run: echo "GIT_REF=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
- name: Call API to create a build
run: |
curl -v -X POST "https://plugin-builder.btcpayserver.org/api/v1/plugins/${{ env.pluginSlug }}/builds" \
-H "Content-Type: application/json" \
-H "Authorization: Basic $(echo -n '${{ secrets.API_USERNAME }}:${{ secrets.API_PASSWORD }}' | base64)" \
-d '{
"GitRef": "${{ env.GIT_REF }}"
}'
env:
pluginSlug: "lethean-plugin"