diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml new file mode 100644 index 0000000..3e054f3 --- /dev/null +++ b/.github/workflows/docs.yml @@ -0,0 +1,20 @@ +name: Build Docs + +on: + push: {} + pull_request: + types: [opened, synchronize] + +jobs: + build: + if: github.event_name == 'push' || github.event.pull_request.head.repo.owner.login != 'Shopify' + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: '2.6' + bundler-cache: true + - run: bundle exec jekyll build --trace diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 15f0f89..0000000 --- a/.travis.yml +++ /dev/null @@ -1,17 +0,0 @@ -sudo: false -language: ruby -cache: bundler -rvm: 2.4 - -before_install: - - gem update --system -install: bundle install -script: bundle exec jekyll build --trace - -branches: - only: - - gh-pages - -env: - global: - - NOKOGIRI_USE_SYSTEM_LIBRARIES=true