diff --git a/.github/workflows/on-pull-request-byggsteg.yaml b/.github/workflows/on-pull-request-byggsteg.yaml index ca62105..a9c0bc0 100644 --- a/.github/workflows/on-pull-request-byggsteg.yaml +++ b/.github/workflows/on-pull-request-byggsteg.yaml @@ -15,8 +15,4 @@ jobs: 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" - + --data-urlencode "job-code=\`((project . \"zzspec\")(branch-name . \"${{ github.head_ref || github.ref_name }}\")(task . \"sbt-test\")(clone-url . \"https://github.com/jjba23/zzspec\"))" diff --git a/.github/workflows/on-push-to-trunk-byggsteg.yaml b/.github/workflows/on-push-to-trunk-byggsteg.yaml index ef531ae..82bab0d 100644 --- a/.github/workflows/on-push-to-trunk-byggsteg.yaml +++ b/.github/workflows/on-push-to-trunk-byggsteg.yaml @@ -14,8 +14,6 @@ jobs: 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=trunk" \ - --data-urlencode "task=sbt-test" \ - --data-urlencode "clone-url=https://github.com/jjba23/zzspec" + --data-urlencode "job-code=\`((project . \"zzspec\")(branch-name . \"trunk\")(task . \"sbt-test\")(clone-url . \"https://github.com/jjba23/zzspec\"))" +