Skip to content

Commit

Permalink
Add byggsteg ci (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjba23 authored Oct 3, 2024
2 parents 86b25c9 + 9c400f5 commit 821d69e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/on-pull-request-byggsteg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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\"))"
6 changes: 2 additions & 4 deletions .github/workflows/on-push-to-trunk-byggsteg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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\"))"

0 comments on commit 821d69e

Please sign in to comment.