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

add byggsteg ci call on pull requests #1

add byggsteg ci call on pull requests

add byggsteg ci call on pull requests #1

name: "on pull request - byggsteg"
on:
pull_request:
types:
- opened
- edited
jobs:
ci:
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 "project=zzspec \
--data-urlencode "branch-name=${{ github.head_ref || github.ref_name }}" \
--data-urlencode "task=sbt-test" \
--data-urlencode "clone-url=https://github.com/jjba23/zzspec"