From 6424771f552b4c391706df74cf707eb29d639c40 Mon Sep 17 00:00:00 2001 From: Philippe Tillet Date: Thu, 7 Apr 2022 09:42:03 -0700 Subject: [PATCH] [CI] Documentation fixup --- .github/workflows/documentation.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index e921709ba..7dfb0a489 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -18,6 +18,11 @@ jobs: with: ref: 'gh-pages' + - name: Clear docs + run: | + rm -r /tmp/triton-docs + continue-on-error: true + - name: Checkout branch uses: actions/checkout@v1 @@ -31,7 +36,6 @@ jobs: run: | git branch # update docs - rm -r /tmp/triton-docs; mkdir /tmp/triton-docs; mv docs/_build/html/* /tmp/triton-docs/ git checkout gh-pages