docs: Update tutorial documentation for init, build and deploy (#100) #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Updates the bonsol nix binary cache hosted via cachix: | ||
# | ||
# substituter: https://bonsol.cachix.org | ||
# public-key: bonsol.cachix.org-1:yz7vi1rCPW1BpqoszdJvf08HZxQ/5gPTPxft4NnT74A= | ||
name: Update Cachix | ||
on: | ||
push: | ||
branches: | ||
- main | ||
concurrency: | ||
group: main-build-cache | ||
cancel-in-progress: true | ||
permissions: read-all | ||
jobs: | ||
update-cachix: | ||
name: Update Cachix | ||
runs-on: ubuntu-latest | ||
permissions: | ||
id-token: "write" | ||
contents: "read" | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Install Nix | ||
uses: DeterminateSystems/nix-installer-action@main | ||
with: | ||
extra-conf: | | ||
extra-substituters = https://bonsol.cachix.org | ||
extra-trusted-public-keys = bonsol.cachix.org-1:yz7vi1rCPW1BpqoszdJvf08HZxQ/5gPTPxft4NnT74A= | ||
- name: Install and configure Cachix | ||
uses: cachix/cachix-action@v15 | ||
with: | ||
name: bonsol | ||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | ||
run: nix flake check | ||
Check failure on line 36 in .github/workflows/update-cachix.yml GitHub Actions / Update CachixInvalid workflow file
|
||
run: nix develop |