Skip to content

fix: update webhook scripts #37

fix: update webhook scripts

fix: update webhook scripts #37

Workflow file for this run

name: Main workflow
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy via Webhook 📲
env:
WEBHOOK_URL: ${{ vars.NYMPH_WEBHOOK_URL_STACK_UP }}
WEBHOOK_SECRET: ${{ secrets.NYMPH_WEBHOOK_SECRET_STACK_UP }}
run: |
ENV_JSON='{"secret":"'$WEBHOOK_SECRET'","env":'$(echo '${{ toJSON(secrets) }}')'}'
curl -X POST -H "Content-Type: application/json" -d "$ENV_JSON" "$WEBHOOK_URL"