Skip to content

Build and deploy Jekyll site #24

Build and deploy Jekyll site

Build and deploy Jekyll site #24

Workflow file for this run

name: Build and deploy Jekyll site
# πŸ’Ž Runs on deployment targeting the default branch
on:
# push:
# branches: [eQ19]
workflow_run:
types: [completed] #requested
workflows: ["pages-build-deployment"]
# πŸͺ‚ Allow only one concurrent deployment across the branches
concurrency:
group: "pages"
cancel-in-progress: true
# Sets permissions of the GITHUB_TOKEN
permissions: write-all
jobs:
# Build job
github-pages:
if: github.event.workflow_run.conclusion == 'success'
runs-on: ${{ github.repository_owner != 'FeedMapping' && 'ubuntu-latest' || 'windows-latest' }}
steps:
- name: πŸ“‚ Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: πŸ’Ž Build on Linux
if: runner.os == 'Linux'
uses: eq19/feed@v2
with:
pre_build_commands: 'make build'
token: ${{ secrets.JEKYLL_GITHUB_TOKEN }}
- name: πŸ’Ž Build on Windows
if: runner.os == 'Windows'
uses: eq19/maps@v1
id: stepid
with:
dotnet-version: '3.1.x'