Skip to content

fix: real Max plan price — €100/mo (not $400) + corrected ~30× compre… #202

fix: real Max plan price — €100/mo (not $400) + corrected ~30× compre…

fix: real Max plan price — €100/mo (not $400) + corrected ~30× compre… #202

Workflow file for this run

name: Deploy to Cloudflare Workers
on:
push:
branches: [main]
concurrency:
group: deploy
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
- run: npm ci
- run: npm run build
env:
HTB_API_TOKEN: ${{ secrets.HTB_API_TOKEN }}
ROOTME_API_KEY: ${{ secrets.ROOTME_API_KEY }}
ROOTME_UID: ${{ secrets.ROOTME_UID }}
FORGEJO_TOKEN: ${{ secrets.FORGEJO_TOKEN }}
- run: npx wrangler deploy
env:
CLOUDFLARE_API_KEY: ${{ secrets.CLOUDFLARE_API_KEY }}
CLOUDFLARE_EMAIL: ${{ secrets.CLOUDFLARE_EMAIL }}
- name: Notify Telegram on failure
if: failure()
env:
COMMIT_MSG: ${{ github.event.head_commit.message }}
run: |
curl -s -X POST "https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendMessage" \
-d chat_id="${{ secrets.TELEGRAM_CHAT_ID }}" \
-d parse_mode=Markdown \
-d text="⚠️ *Deploy pixelium.win FAILED*%0A%0ACommit: \`${GITHUB_SHA::7}\`%0AMessage: ${COMMIT_MSG}%0A[Voir le run](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})"