mirror of
https://github.com/srid/rib.git
synced 2024-08-16 16:40:56 +03:00
Update gh actions
This commit is contained in:
parent
987e93dad8
commit
d92d2c1981
1
.github/FUNDING.yml
vendored
1
.github/FUNDING.yml
vendored
@ -1 +1,2 @@
|
|||||||
github: srid
|
github: srid
|
||||||
|
liberapay: srid
|
||||||
|
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
@ -10,9 +10,9 @@ jobs:
|
|||||||
os: [macos-latest, ubuntu-latest]
|
os: [macos-latest, ubuntu-latest]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: cachix/install-nix-action@v10
|
- uses: cachix/install-nix-action@v12
|
||||||
# This also runs nix-build.
|
# This also runs nix-build.
|
||||||
- uses: cachix/cachix-action@v6
|
- uses: cachix/cachix-action@v8
|
||||||
with:
|
with:
|
||||||
name: srid
|
name: srid
|
||||||
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
||||||
|
14
.github/workflows/publish-site.yml
vendored
14
.github/workflows/publish-site.yml
vendored
@ -9,19 +9,17 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: cachix/install-nix-action@v9
|
- uses: cachix/install-nix-action@v12
|
||||||
- uses: cachix/cachix-action@v6
|
- uses: cachix/cachix-action@v8
|
||||||
with:
|
with:
|
||||||
name: srid
|
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 🔧
|
- name: Build neuron site 🔧
|
||||||
run: |
|
run: |
|
||||||
neuron --version
|
cd ./guide
|
||||||
neuron -d guide rib
|
mkdir -p .neuron/output && touch .neuron/output/.nojekyll
|
||||||
|
docker run -v $PWD:/notes sridca/neuron neuron gen --pretty-urls
|
||||||
- name: Deploy to GitHub Pages 🚀
|
- name: Deploy to GitHub Pages 🚀
|
||||||
uses: JamesIves/github-pages-deploy-action@3.5.6
|
uses: JamesIves/github-pages-deploy-action@3.7.1
|
||||||
with:
|
with:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
BRANCH: gh-pages
|
BRANCH: gh-pages
|
||||||
|
Loading…
Reference in New Issue
Block a user