From 4e46333ff6c5d9d7d28b8e589cb4d001547501d5 Mon Sep 17 00:00:00 2001 From: Brady Johnston <36021261+BradyAJohnston@users.noreply.github.com> Date: Tue, 16 May 2023 15:18:30 +0800 Subject: [PATCH] disable netlify deploy --- .github/workflows/docs.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index ba61c54d..6eaf32ae 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -50,19 +50,19 @@ jobs: transient: true logs: 'https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}' - - name: Netlify docs preview - run: | - npm install -g netlify-cli - # push main branch to production, others to preview -- - if [ "${ALIAS}" == "main" ]; then - netlify deploy --dir=docs/_build --alias="main" - else - netlify deploy --dir=docs/_build --alias="${ALIAS}" - fi - env: - NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} - NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} - ALIAS: ${{ steps.deployment.outputs.env }} +# - name: Netlify docs preview +# run: | +# npm install -g netlify-cli +# # push main branch to production, others to preview -- + # if [ "${ALIAS}" == "main" ]; then + # netlify deploy --dir=docs/_build --alias="main" + # else + # netlify deploy --dir=docs/_build --alias="${ALIAS}" + # fi + # env: + # NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} +# NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} +# ALIAS: ${{ steps.deployment.outputs.env }} - name: Update Github Deployment uses: bobheadxi/deployments@v0.4.3 @@ -78,4 +78,4 @@ jobs: if: github.event_name == 'release' with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: docs/_build \ No newline at end of file + publish_dir: docs/_build