Skip to content

Commit

Permalink
Push to gh pages
Browse files Browse the repository at this point in the history
  • Loading branch information
timlinux committed Dec 16, 2023
1 parent 80a695c commit ec824a9
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/nix-build.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
name: "Test"
name: 📖 Documentation
on:
pull_request:
push:
branches:
- main
- docs
# Paths can be used to only trigger actions when you have edited certain files, such as a file within the /docs directory
paths:
- ".github/workflows/nix-build.yml"
- "docs/**"
# Allow manually running in the actions tab
workflow_dispatch:

jobs:
tests:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout docs
Expand All @@ -14,7 +24,7 @@ jobs:
nix_path: nixpkgs=channel:nixos-unstable
- name: Nix shell
uses: DeterminateSystems/magic-nix-cache-action@v2
- run: nix-shell --run "./english_build.sh"
run: nix-shell --run "./english_build.sh"
- name: Deploy docs to github pages
uses: ad-m/[email protected]
with:
Expand Down

0 comments on commit ec824a9

Please sign in to comment.