diff --git a/.github/workflows/build-website.yml b/.github/workflows/build-website.yml index 01ab4df..beb21f4 100644 --- a/.github/workflows/build-website.yml +++ b/.github/workflows/build-website.yml @@ -3,9 +3,13 @@ name: Build the website on: # Runs on pushes targeting the default branch push: - branches: "!main" + branches: + - '*' + - '!main' pull_request: - branches: "!main" + branches: + - '*' + - '!main' # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -30,7 +34,7 @@ jobs: run: nix build - name: Download IPFS run: ./.github/github_install_ipfs.sh - - name: Print IPFS hahs - run: ./result/www/ipfs-add.sh --pin=false; cat result/ipfs.url + - name: Print IPFS hahes + run: export PATH="/tmp/kubo:$PATH"; ./result/www/ipfs-add.sh --pin=false; cat result/ipfs.url - name: Compare IPFS hashes - run: PATH="/tmp/kubo:$PATH" test "ipfs://$(./result/www/ipfs-add.sh --pin=false)" = "$(cat result/ipfs.url)" \ No newline at end of file + run: export PATH="/tmp/kubo:$PATH"; test "ipfs://$(./result/www/ipfs-add.sh --pin=false)" = "$(cat result/ipfs.url)" \ No newline at end of file