🔥 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

@@ -23,10 +23,8 @@ jobs:
- name: Build Docs
run: python3.7 ./scripts/docs.py build-all
- name: Zip docs
if: github.event_name == 'pull_request'
run: bash ./scripts/zip-docs.sh
- uses: actions/upload-artifact@v2
if: github.event_name == 'pull_request'
with:
name: docs-zip
path: ./docs.zip

View File

@@ -5,30 +5,12 @@ on:
- Build Docs
types:
- completed
# workflow_dispatch:
# inputs:
# pr:
# description: Pull Request number
# required: true
# name:
# description: Artifact name for zip file with docs
# required: true
# commit:
# description: Commit SHA hash
# required: true
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# - uses: ./.github/actions/get-artifact
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# name: ${{ github.event.inputs.name }}
# path: ./archive.zip
# - name: Unzip docs
# run: bash ./scripts/unzip-docs.sh
- name: Download Artifact Docs
uses: dawidd6/action-download-artifact@v2.9.0
with:

View File

@@ -1,13 +0,0 @@
# name: Watch Docs Previews
# on:
# schedule:
# - cron: "0 * * * *"
# jobs:
# deploy:
# runs-on: ubuntu-18.04
# steps:
# - uses: actions/checkout@v2
# - uses: ./.github/actions/watch-previews
# with:
# token: ${{ secrets.ACTIONS_TOKEN }}