mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Merge pull request #1149 from phil-opp/zola-update
CI: Move link check to separate workflow
This commit is contained in:
14
.github/workflows/blog.yml
vendored
14
.github/workflows/blog.yml
vendored
@@ -38,20 +38,6 @@ jobs:
|
|||||||
name: generated_site
|
name: generated_site
|
||||||
path: blog/public
|
path: blog/public
|
||||||
|
|
||||||
zola_check:
|
|
||||||
name: "Zola Check"
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v1
|
|
||||||
|
|
||||||
- name: 'Download Zola'
|
|
||||||
run: curl -sL https://github.com/getzola/zola/releases/download/v0.16.1/zola-v0.16.1-x86_64-unknown-linux-gnu.tar.gz | tar zxv
|
|
||||||
|
|
||||||
- name: "Run zola check"
|
|
||||||
run: ../zola check
|
|
||||||
working-directory: "blog"
|
|
||||||
|
|
||||||
check_spelling:
|
check_spelling:
|
||||||
name: "Check Spelling"
|
name: "Check Spelling"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
27
.github/workflows/check-links.yml
vendored
Normal file
27
.github/workflows/check-links.yml
vendored
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
name: Check Links
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- "*"
|
||||||
|
- "!staging.tmp"
|
||||||
|
tags:
|
||||||
|
- "*"
|
||||||
|
pull_request:
|
||||||
|
schedule:
|
||||||
|
- cron: "0 0 1/4 * *" # every 4 days
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
zola_check:
|
||||||
|
name: "Zola Check"
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
|
||||||
|
- name: "Download Zola"
|
||||||
|
run: curl -sL https://github.com/getzola/zola/releases/download/v0.16.1/zola-v0.16.1-x86_64-unknown-linux-gnu.tar.gz | tar zxv
|
||||||
|
|
||||||
|
- name: "Run zola check"
|
||||||
|
run: ../zola check
|
||||||
|
working-directory: "blog"
|
||||||
Reference in New Issue
Block a user