Skip to content

Setting up forms

Setting up forms #1

Workflow file for this run

name: Notify Telemetry
on: [push]
jobs:
notify_telemetry:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Send POST request
env:
GITHUB_USERNAME: ${{ github.actor }}
REPO_URL: ${{ github.repository }}
EVENT_TYPE: ${{ github.event_name }}
run: |
curl -X POST https://student-telem.do.jointheleague.org/acct/register \
-H "Content-Type: application/json" \
-d '{"username": "'"${GITHUB_USERNAME}"'", "repo_url": "'"${REPO_URL}"'", "event_type": "'"${EVENT_TYPE}"'"}'