Skip to content

Commit

Permalink
Working easy from home
Browse files Browse the repository at this point in the history
not so much in the cloud
  • Loading branch information
supertopher committed Apr 19, 2022
1 parent 17518e5 commit 75135a4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}

1 change: 1 addition & 0 deletions tools/bin/deploy_docusaurus
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 75135a4

Please sign in to comment.