mirror of
https://github.com/hacks-guide/Guide_3DS.git
synced 2024-11-23 01:19:49 +00:00
Add a pull request test script for GitHub Actions
Also remove useless submodule argument from checkout
This commit is contained in:
parent
b17331d796
commit
81dffe07df
1
.github/workflows/publish.yml
vendored
1
.github/workflows/publish.yml
vendored
@ -13,7 +13,6 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
persist-credentials: false
|
||||
submodules: recursive
|
||||
|
||||
- uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
|
25
.github/workflows/test.yml
vendored
Normal file
25
.github/workflows/test.yml
vendored
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user