mirror of
https://github.com/srid/rib.git
synced 2024-11-22 03:04:38 +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
|
||||
liberapay: srid
|
||||
|
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
@ -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 }}'
|
||||
|
14
.github/workflows/publish-site.yml
vendored
14
.github/workflows/publish-site.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user