mirror of
https://github.com/fastapi/fastapi.git
synced 2026-04-30 19:56:04 -04:00
♻ Update GitHub actions (#1746)
* 🐛 Fix Gitter notification, use development gitter room until next release * 🔥 Remove trigger docs preview step from build-docs workflow as it requires a more privileged token, so it's now triggered by the preview docs watcher * 🔊 Dump context when building to allow debugging how to refactor the Gitter bot
This commit is contained in:
committed by
GitHub
parent
0f54657377
commit
6ab2841dbb
6
.github/workflows/build-docs.yml
vendored
6
.github/workflows/build-docs.yml
vendored
@@ -24,12 +24,6 @@ jobs:
|
||||
with:
|
||||
name: docs-zip-${{ github.sha }}
|
||||
path: ./docs.zip
|
||||
- name: Trigger Docs Preview
|
||||
env:
|
||||
PR: "${{ github.event.number }}"
|
||||
NAME: "docs-zip-${{ github.sha }}"
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
run: bash ./scripts/trigger-docs-preview.sh
|
||||
- name: Deploy to Netlify
|
||||
uses: nwtgck/actions-netlify@v1.1.5
|
||||
with:
|
||||
|
||||
6
.github/workflows/publish.yml
vendored
6
.github/workflows/publish.yml
vendored
@@ -23,7 +23,13 @@ jobs:
|
||||
FLIT_USERNAME: ${{ secrets.FLIT_USERNAME }}
|
||||
FLIT_PASSWORD: ${{ secrets.FLIT_PASSWORD }}
|
||||
run: bash scripts/publish.sh
|
||||
- name: Dump GitHub context
|
||||
env:
|
||||
GITHUB_CONTEXT: ${{ toJson(github) }}
|
||||
run: echo "$GITHUB_CONTEXT"
|
||||
- name: Notify
|
||||
env:
|
||||
GITTER_TOKEN: ${{ secrets.GITTER_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
TAG: ${{ github.ref }}
|
||||
run: bash scripts/notify.sh
|
||||
|
||||
Reference in New Issue
Block a user