Skip to content

Commit

Permalink
Merge pull request #1 from ligolang/dev
Browse files Browse the repository at this point in the history
First Pull Request test (testing the workflow)
  • Loading branch information
LigoSuzanneSoy authored Nov 20, 2023
2 parents 656f647 + 45f2b2b commit f559087
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/build-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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)"
run: export PATH="/tmp/kubo:$PATH"; test "ipfs://$(./result/www/ipfs-add.sh --pin=false)" = "$(cat result/ipfs.url)"

0 comments on commit f559087

Please sign in to comment.