mirror of
https://github.com/foo-dogsquared/website.git
synced 2025-01-31 01:57:54 +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:
|
||||
branches:
|
||||
- master
|
||||
schedule:
|
||||
# Every Sunday.
|
||||
- cron: '0 0 * * 0'
|
||||
workflow_run:
|
||||
workflows:
|
||||
- "Update webring"
|
||||
types:
|
||||
- "completed"
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
Loading…
Reference in New Issue
Block a user