Stop rebuilding matrix.org (#3454)
the matrix.org site no longer uses anything from this build, so let's stop rebuilding it.
This commit is contained in:
parent
88e181ac1d
commit
d6f73d2df3
1 changed files with 1 additions and 11 deletions
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
|
@ -8,7 +8,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-openapi:
|
build-openapi:
|
||||||
name: "🐍 Build OpenAPI definitions for matrix.org"
|
name: "🐍 Build OpenAPI definitions"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: "python:3.9"
|
container: "python:3.9"
|
||||||
steps:
|
steps:
|
||||||
|
@ -66,13 +66,3 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: spec-artifact
|
name: spec-artifact
|
||||||
path: spec.tar.gz
|
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…
Add table
Add a link
Reference in a new issue