diff --git a/.github/workflows/gojekyll.yml b/.github/workflows/gojekyll.yml new file mode 100644 index 0000000..9fefe5d --- /dev/null +++ b/.github/workflows/gojekyll.yml @@ -0,0 +1,28 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the "master" branch + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Setup Go environment + uses: actions/setup-go@5.0.1 + - name: Installing dependencies + run: go install github.com/osteele/gojekyll@latest + - name: Building site + run: gojekyll build + - name: Gojekyll Serve + run: gojekyll serve + +