Skip to content

CURL Request with Secrets #299

CURL Request with Secrets

CURL Request with Secrets #299

Workflow file for this run

name: CURL Request with Secrets
on:
schedule:
- cron: '0 9 * * *'
jobs:
notify:
runs-on: ubuntu-latest
environment: main
steps:
- name: Send POST request
# Inspect requests at https://public.requestbin.com/r/enw9z3kw0afbh
run: |
curl -H "Authorization: ${{ secrets.REQ_SECRET }}" -X POST "https://enw9z3kw0afbh.x.pipedream.net"