From f2e2153a1305c23d6e2e5d1dbe225cb277bac982 Mon Sep 17 00:00:00 2001 From: freezy Date: Thu, 3 Oct 2019 13:03:58 +0200 Subject: [PATCH] merge two jobs into one (#1857) --- .github/workflows/docs.yaml | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 45dc1c1a..593e9eef 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -4,8 +4,8 @@ on: branches: - master jobs: - build: - name: Build Docs + build_and_publish: + name: Build and publish Docs runs-on: ubuntu-latest steps: - name: Checkout sources @@ -14,21 +14,6 @@ jobs: fetch-depth: 1 - name: Build Docs uses: ./.github/actions/build-docs - - name: Upload file artifacts - uses: actions/upload-artifact@v1 - with: - name: docs - path: docs - - publish: - name: Publish Docs - needs: build - runs-on: ubuntu-latest - steps: - - name: Download file artifacts - uses: actions/download-artifact@v1 - with: - name: docs - name: Publish Docs to gh-pages uses: maxheld83/ghpages@v0.2.1 env: