From edd0a0773df79f48b50e8bcb8fef5fc65e506333 Mon Sep 17 00:00:00 2001 From: Rory Abraham Date: Sun, 3 Jul 2022 09:42:33 -0700 Subject: [PATCH 1/2] Setup workflow to deploy helpsite on GH Pages --- .github/workflows/deployHelpSite.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/deployHelpSite.yml diff --git a/.github/workflows/deployHelpSite.yml b/.github/workflows/deployHelpSite.yml new file mode 100644 index 000000000000..ddbf087c71b4 --- /dev/null +++ b/.github/workflows/deployHelpSite.yml @@ -0,0 +1,26 @@ +name: Deploy Help Site +on: + push: + branches: [main] + +jobs: + buildAndDeploy: + runs-on: ubuntu-latest + env: + BUNDLE_GEMFILE: ${{ github.workspace }}/help/Gemfile + steps: + - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b + + - uses: ruby/setup-ruby@08245253a76fa4d1e459b7809579c62bd9eb718a + with: + ruby-version: 3.0 + bundler-cache: true + + - name: Build + run: cd help && bundle exec jekyll build + + - name: Deploy + uses: peaceiris/actions-gh-pages@97637bffb09a6ef46a66b47207df5a18e3e7afc0 + with: + github_token: ${{ github.token }} + publish_dir: ./help/_site From fc119da057c8f30790119fd532a6146d1ba6dae6 Mon Sep 17 00:00:00 2001 From: Rory Abraham Date: Sun, 3 Jul 2022 09:47:20 -0700 Subject: [PATCH 2/2] Add linux platform to gemfile --- help/Gemfile.lock | 2 ++ 1 file changed, 2 insertions(+) diff --git a/help/Gemfile.lock b/help/Gemfile.lock index 61a710b63287..e2606d65fc5f 100644 --- a/help/Gemfile.lock +++ b/help/Gemfile.lock @@ -67,7 +67,9 @@ GEM webrick (1.7.0) PLATFORMS + x86_64-darwin-20 x86_64-darwin-21 + x86_64-linux DEPENDENCIES http_parser.rb (~> 0.6.0)