modified: .github/workflows/jekyll-gh-pages.yml
This commit is contained in:
parent
f85c1cc25b
commit
bcb7db952e
1 changed files with 10 additions and 8 deletions
18
.github/workflows/jekyll-gh-pages.yml
vendored
18
.github/workflows/jekyll-gh-pages.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue