Stop rebuilding matrix.org (#3454)

the matrix.org site no longer uses anything from this build, so let's stop
rebuilding it.
pull/977/head
Richard van der Hoff 3 years ago committed by GitHub
parent 88e181ac1d
commit d6f73d2df3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -8,7 +8,7 @@ on:
jobs:
build-openapi:
name: "🐍 Build OpenAPI definitions for matrix.org"
name: "🐍 Build OpenAPI definitions"
runs-on: ubuntu-latest
container: "python:3.9"
steps:
@ -66,13 +66,3 @@ jobs:
with:
name: spec-artifact
path: spec.tar.gz
rebuild-matrixdotorg:
name: "👷 Rebuild matrix.org"
needs: build-openapi
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
steps:
- name: "🪄 Triggering rebuild of matrix.org"
run: |
curl -XPOST -u "${{secrets.TRIGGER_MATRIXORG_REBUILD_TOKEN}}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/${{ github.repository_owner }}/matrix.org/actions/workflows/build-matrix.org.yml/dispatches --data '{"ref": "master" }'

Loading…
Cancel
Save