1
1
mirror of https://github.com/srid/rib.git synced 2024-07-14 16:30:35 +03:00

Update gh actions

This commit is contained in:
Sridhar Ratnakumar 2021-03-31 13:54:24 -04:00
parent 987e93dad8
commit d92d2c1981
3 changed files with 9 additions and 10 deletions

1
.github/FUNDING.yml vendored
View File

@ -1 +1,2 @@
github: srid
liberapay: srid

View File

@ -10,9 +10,9 @@ jobs:
os: [macos-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v10
- uses: cachix/install-nix-action@v12
# This also runs nix-build.
- uses: cachix/cachix-action@v6
- uses: cachix/cachix-action@v8
with:
name: srid
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'

View File

@ -9,19 +9,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v9
- uses: cachix/cachix-action@v6
- uses: cachix/install-nix-action@v12
- uses: cachix/cachix-action@v8
with:
name: srid
# This builds neuron, as well as run tests
- name: Install neuron
run: nix-env -j 4 -if https://github.com/srid/neuron/archive/master.tar.gz
- name: Build neuron site 🔧
run: |
neuron --version
neuron -d guide rib
cd ./guide
mkdir -p .neuron/output && touch .neuron/output/.nojekyll
docker run -v $PWD:/notes sridca/neuron neuron gen --pretty-urls
- name: Deploy to GitHub Pages 🚀
uses: JamesIves/github-pages-deploy-action@3.5.6
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages