Create gojekyll.yml

This commit is contained in:
Mani Arasteh 2024-06-01 14:19:05 +03:30 committed by GitHub
parent 0c298df1c2
commit 131d661bc9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

28
.github/workflows/gojekyll.yml vendored Normal file
View file

@ -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