modified: .github/workflows/jekyll-gh-pages.yml

This commit is contained in:
Anderson 2026-02-25 02:41:31 +00:00 committed by GitHub
parent f85c1cc25b
commit bcb7db952e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,10 +1,13 @@
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy Jekyll with GitHub Pages dependencies preinstalled
# Deploy Docsify documentation to GitHub Pages
name: Deploy Docsify Documentation
on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
paths:
- 'docs/**'
- '.github/workflows/jekyll-gh-pages.yml'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
@ -28,15 +31,14 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./
destination: ./_site
- name: Upload artifact
- name: Upload docs folder
uses: actions/upload-pages-artifact@v3
with:
path: 'docs'
# Deployment job
deploy: