Skip to content

Commit

Permalink
Add CI instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
wolverian committed Dec 6, 2021
1 parent 2efead2 commit f591a9d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: cachix/install-nix-action@v15
- uses: cachix/cachix-action@v10
with:
name: wolverian-agda-template
name: agda-template
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- name: Build HTML
run: nix build --verbose --print-build-logs
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ or
On the cache page, go to "Settings → Auth Tokens" and create a new write token.
3. [ ] On the GitHub repository page, go to "Settings → Secrets → New repository secret" and add `CACHIX_AUTH_TOKEN`.
Set its value to the secret you created in the previous step.
4. [ ] Open the GitHub Actions workflow file `.github/workflows/github-pages.yml` in an editor and update the value of the `cachix-action` parameter `name` to the name of your cache.
Commit your change.
5. [ ] After the GitHub Actions "Deploy" job is green, on the GitHub repository page, go to "Settings → Pages".
Select "Source: gh-pages".

## Compile HTML

Expand Down

0 comments on commit f591a9d

Please sign in to comment.