♻ 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:
Sebastián Ramírez
2020-07-20 18:56:13 +02:00
committed by GitHub
parent 0f54657377
commit 6ab2841dbb
4 changed files with 9 additions and 30 deletions

View File

@@ -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:

View File

@@ -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