mirror of
https://github.com/foo-dogsquared/website.git
synced 2025-02-07 09:19:00 +00:00
Separate updating webring and building site steps
This enables updating post without interrupting the webring which is supposed to stay for a week.
This commit is contained in:
parent
d0278e87a8
commit
aedcac2777
14
.github/workflows/build-webring.yml
vendored
Normal file
14
.github/workflows/build-webring.yml
vendored
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
name: "Update webring"
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
# Every Sunday.
|
||||||
|
- cron: '0 0 * * 0'
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: cachix/install-nix-action@v17
|
||||||
|
with:
|
||||||
|
nix_path: nixpkgs=channel:nixpkgs-unstable
|
||||||
|
- run: nix develop -c make build-openring
|
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -3,9 +3,11 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
schedule:
|
workflow_run:
|
||||||
# Every Sunday.
|
workflows:
|
||||||
- cron: '0 0 * * 0'
|
- "Update webring"
|
||||||
|
types:
|
||||||
|
- "completed"
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Loading…
Reference in New Issue
Block a user