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

Commit

Permalink
Merge branch 'trunk' of personal.github.com:jjba23/zzspec into trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
jjba23 committed Oct 11, 2024
2 parents dd7e82b + 821d69e commit c4211b0
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 33 deletions.
33 changes: 0 additions & 33 deletions .github/workflows/ci.yaml

This file was deleted.

18 changes: 18 additions & 0 deletions .github/workflows/on-pull-request-byggsteg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
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\"))"
19 changes: 19 additions & 0 deletions .github/workflows/on-push-to-trunk-byggsteg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: "on push to trunk - byggsteg"

on:
push:
branches:
- trunk

jobs:
on-push-to-trunk-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 . \"trunk\")(task . \"sbt-test\")(clone-url . \"https://github.com/jjba23/zzspec\"))"

0 comments on commit c4211b0

Please sign in to comment.