Skip to content

Commit

Permalink
split CI jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
ananthakumaran committed Apr 20, 2022
1 parent 5a58b5a commit 49f627a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 17 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Docs

on:
- push

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: cachix/install-nix-action@v15
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: publish
run: make publish
- name: Deploy
uses: JamesIves/[email protected]
with:
BRANCH: gh-pages
FOLDER: docs/book
21 changes: 4 additions & 17 deletions .github/workflows/ci.yml → .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: CI
name: Release

on:
- pull_request
- push
push:
tags:
- '*'

jobs:
linux-binary:
Expand Down Expand Up @@ -40,17 +41,3 @@ jobs:
paisa-*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: cachix/install-nix-action@v15
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: publish
run: make publish
- name: Deploy
uses: JamesIves/[email protected]
with:
BRANCH: gh-pages
FOLDER: docs/book

0 comments on commit 49f627a

Please sign in to comment.