mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Compare commits
2 Commits
ffc6d54009
...
9f0bd81a79
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9f0bd81a79 | ||
|
|
55508e6800 |
20
.github/workflows/blog.yml
vendored
20
.github/workflows/blog.yml
vendored
@@ -104,3 +104,23 @@ jobs:
|
||||
- name: "Push Changes"
|
||||
run: "git push"
|
||||
working-directory: "blog_os_deploy"
|
||||
|
||||
drafts:
|
||||
name: "Build Drafts"
|
||||
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: 'Install Python Libraries'
|
||||
run: python -m pip install --user -r requirements.txt
|
||||
working-directory: "blog"
|
||||
|
||||
- name: "Run before_build.py script"
|
||||
run: python before_build.py
|
||||
working-directory: "blog"
|
||||
- name: "Build Site with drafts"
|
||||
run: ../zola build --drafts
|
||||
working-directory: "blog"
|
||||
|
||||
@@ -3,6 +3,7 @@ title = "Minimal Kernel"
|
||||
weight = 1
|
||||
path = "minimal-kernel"
|
||||
date = 0000-01-01
|
||||
draft = true
|
||||
|
||||
[extra]
|
||||
chapter = "Bare Bones"
|
||||
|
||||
Reference in New Issue
Block a user