diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1c843b3757..f93355774a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,7 +13,6 @@ jobs: - uses: actions/checkout@v3 with: persist-credentials: false - submodules: recursive - uses: ruby/setup-ruby@v1 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000000..112a08124d --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,25 @@ +name: Test site build + +on: + pull_request: + branches: [ master ] + +jobs: + doc-test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + with: + persist-credentials: false + + - uses: ruby/setup-ruby@v1 + with: + ruby-version: '3.2' + + - name: Install dependencies + run: bundle install + + - name: Run Jekyll + # Build the site using Jekyll + run: bundle exec jekyll build