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 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)