🔥 Cleanup after upgrade for Docs Previews GitHub Action (#2248)

* 🔧 Upload docs artifacts even on push to avoid breaking Preview Docs

* 🔥 Remove replaced GitHub Action get-artifact

* 🔥 Remove GitHub Action Watch Docs Previews, replaced with Preview Docs

* 🔥 Remove commented backup configs in Preview Docs GitHub Action

* 🔥 Remove no longer needed utils scripts
This commit is contained in:
Sebastián Ramírez
2020-10-25 19:46:32 +01:00
committed by GitHub
parent c75c13c3b0
commit e1755f4fa6
8 changed files with 0 additions and 146 deletions

View File

@@ -1,14 +0,0 @@
#! /usr/bin/env bash
set -x
set -e
PR=${PR:?Variable not set}
DEPLOY_URL=${DEPLOY_URL:?Variable not set}
GITHUB_TOKEN=${GITHUB_TOKEN:?Variable not set}
COMMIT=${COMMIT:?Variable not set}
curl \
-H "Authorization: token ${GITHUB_TOKEN}" \
https://api.github.com/repos/tiangolo/fastapi/issues/${PR}/comments \
-d '{"body": "📝 Docs preview for commit '"${COMMIT} at: ${DEPLOY_URL}"'"}'

View File

@@ -1,13 +0,0 @@
#! /usr/bin/env bash
set -x
set -e
if [ -d ./site/ ]; then
rm -rf ./site/
fi
unzip archive.zip
# Double zipped by GitHub when downlading the archive
unzip docs.zip
rm -rf archive.zip
rm -rf docs.zip