Create jekyll_build.yml

Signed-off-by: John Gotti Sr. <109058188+Agentofchaoss@users.noreply.github.com>
This commit is contained in:
John Gotti Sr 2023-11-05 12:06:53 -08:00 committed by GitHub
parent cefa6178b0
commit 1e8f427dab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

30
.github/workflows/jekyll_build.yml vendored Normal file
View File

@ -0,0 +1,30 @@
on:
push:
branches:
- src-pages
jobs:
jekyll_build:
runs-on: ubuntu-latest
steps:
- name: Checkout source branch for building Pages
uses: actions/checkout@v1
with:
ref: src-pages
fetch-depth: 10
- name: Make build destination directory
run: mkdir -vp ~/www/repository-name
- name: Jekyll Build
uses: gha-utilities/jekyll-build@v0.1.1
with:
source: ./
destination: ~/www/repository-name
- name: Upload Built Pages
uses: actions/upload-artifact@v1.0.0
with:
name: Complied-Jekyll-Pages
path: ~/www/repository-name