Merge pull request #357 from Kleidukos/add-upcloud-blurb #599
This file contains hidden or 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
| name: CI | |
| on: | |
| pull_request: | |
| push: | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Nix | |
| uses: cachix/install-nix-action@v25 | |
| - name: Cachix | |
| uses: cachix/cachix-action@v14 | |
| with: | |
| name: haskell-org | |
| authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
| - name: Build Site | |
| # we run the checks as a separate step | |
| run: > | |
| nix build \ | |
| --verbose \ | |
| --print-build-logs \ | |
| --file . \ | |
| built -o built-site \ | |
| --arg doCheck false \ | |
| --extra-experimental-features nix-command | |
| - name: Check Links | |
| run: > | |
| nix shell \ | |
| --quiet \ | |
| --file . \ | |
| linkchecker \ | |
| --extra-experimental-features nix-command \ | |
| --command linkchecker built-site | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: www.haskell.org | |
| path: built-site* |