diff --git a/.github/workflows/jekyllBuild.yml b/.github/workflows/jekyllBuild.yml new file mode 100644 index 0000000..9c39b59 --- /dev/null +++ b/.github/workflows/jekyllBuild.yml @@ -0,0 +1,34 @@ + + +name: Build Jekyll + +on: + # Triggers the workflow on push or pull request events but only for the master branch + push: + branches: [ master ] + pull_request: + branches: [ master ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: 2.6 + - name: Install dependencies + run: bundle install + - name: Build Jekyll + run: bundle exec jekyll build + +