From ef6a67aad94e074d08de8d5007844d9a5026d399 Mon Sep 17 00:00:00 2001 From: Stefan Scherer Date: Fri, 20 Mar 2020 14:32:07 +0100 Subject: [PATCH] Disable netlify-deploy for now Signed-off-by: Stefan Scherer --- .github/workflows/build-pr.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index 0cc5ee50a9..0677361ca5 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -14,13 +14,14 @@ jobs: - uses: actions/checkout@v2 - name: build image run: docker build --build-arg=ENABLE_ARCHIVES=false --target=current -t documentation:latest . - - name: copy static files - if: github.event.pull_request.head.repo.fork == false - run: docker run -v ${PWD}:/output documentation:latest cp -r /usr/share/nginx/html /output/_site - - uses: ./.github/actions/netlify-deploy - if: github.event.pull_request.head.repo.fork == false - with: - directory: _site - netlify_token: ${{ secrets.NETLIFY_AUTH_TOKEN }} - netlify_account_slug: ${{ secrets.NETLIFY_ACCOUNT_SLUG }} - site_name: "${{ github.repository }}/${{ github.head_ref }}" + # Disabled netlify-deploy due to flakey 502 http errors + # - name: copy static files + # if: github.event.pull_request.head.repo.fork == false + # run: docker run -v ${PWD}:/output documentation:latest cp -r /usr/share/nginx/html /output/_site + # - uses: ./.github/actions/netlify-deploy + # if: github.event.pull_request.head.repo.fork == false + # with: + # directory: _site + # netlify_token: ${{ secrets.NETLIFY_AUTH_TOKEN }} + # netlify_account_slug: ${{ secrets.NETLIFY_ACCOUNT_SLUG }} + # site_name: "${{ github.repository }}/${{ github.head_ref }}"