Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

Add byggsteg ci

Add byggsteg ci #2

name: "on pull request - byggsteg"
on:
pull_request:
types:
- opened
- edited
jobs:
on-pull-request-byggsteg:
runs-on: ubuntu-latest
steps:
- name: "trigger build and test at byggsteg"
run: |
curl 'https://byggsteg.jointhefreeworld.org/api/jobs/submit' \
-X POST -H 'Content-Type: application/x-www-form-urlencoded' \
-H 'Authorization: Basic ${{secrets.BYGGSTEG_KEY}}' \
--data-urlencode "job-code=\`((project . \"zzspec\")(branch-name . \"${{ github.head_ref || github.ref_name }}\")(task . \"sbt-test\")(clone-url . \"https://github.com/jjba23/zzspec\"))"