diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index ef39b18bbdb7..793172b2911a 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -2,7 +2,7 @@ name: compile-docusaurus-static-assets on: push: - branches: [master, toph_docs_pipeline_fixes_bugs_n_gitbook] + branches: [master] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -26,12 +26,12 @@ jobs: node-version: '16.13.0' cache: 'yarn' cache-dependency-path: docusaurus - # Build Docusaurus website - - name: Check for docusaurus changes not committed - run: ./tools/bin/check_docusaurus_build_changes - # Install and build Docusaurus website - - name: Deploy docs to production (it's weird) - run: ./tools/bin/deploy_docusaurus - env: - GITHUB_TOKEN: ${{ secrets.OCTAVIA_PAT }} + # # Build Docusaurus website + # - name: Check for docusaurus changes not committed + # run: ./tools/bin/check_docusaurus_build_changes + # # Install and build Docusaurus website + # - name: Deploy docs to production (it's weird) + # run: ./tools/bin/deploy_docusaurus + # env: + # GITHUB_TOKEN: ${{ secrets.OCTAVIA_PAT }} diff --git a/tools/bin/deploy_docusaurus b/tools/bin/deploy_docusaurus index fb4e6b4a013e..2f74f66cac9c 100755 --- a/tools/bin/deploy_docusaurus +++ b/tools/bin/deploy_docusaurus @@ -67,6 +67,7 @@ if test "$(tty)" == "not a tty"; then echo "machine github.com login octavia-squidington-iii password $GITHUB_TOKEN" > $HOME/.netrc # context https://v1.docusaurus.io/docs/en/publishing#using-github-pages # write a prod website to airbytehq/airbyte gh_pages branch + # NOT ACTUALLY WORKING GIT_USER="octavia-squidington-iii" yarn run publish-gh-pages else yarn run deploy