From d5bc9564a6022f9c8502754a971cc09eff0ef0df Mon Sep 17 00:00:00 2001 From: corver Date: Fri, 18 Oct 2024 14:42:54 +0200 Subject: [PATCH] ci(github): fix join action for linux (#2219) Use `bash` instead of `sh` since the script downloaded is a bash script. Also improve slack notifications. issue: #2175 --- .github/workflows/ci-join.yml | 2 +- .github/workflows/ci-notify.yml | 2 +- docs/content/build/1-quickstart.md | 2 +- docs/content/operate/1-run-full-node.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-join.yml b/.github/workflows/ci-join.yml index 6adb9ee88..3b6a85cd0 100644 --- a/.github/workflows/ci-join.yml +++ b/.github/workflows/ci-join.yml @@ -17,7 +17,7 @@ jobs: - name: Run a full node run: | # As per public docs - curl -sSfL https://raw.githubusercontent.com/omni-network/omni/main/scripts/install_omni_cli.sh | sh -s + curl -sSfL https://raw.githubusercontent.com/omni-network/omni/main/scripts/install_omni_cli.sh | bash -s # init halo and geth omni operator init-nodes --network=omega --moniker=ci-nightly --home=$(pwd) diff --git a/.github/workflows/ci-notify.yml b/.github/workflows/ci-notify.yml index cf4f5f3a7..966bacb80 100644 --- a/.github/workflows/ci-notify.yml +++ b/.github/workflows/ci-notify.yml @@ -22,7 +22,7 @@ jobs: "type": "section", "text": { "type": "mrkdwn", - "text": "🚨 CI failed on `${{ github.event.repository.name }}:${{ github.event.workflow_run.head_branch }}`." + "text": "🚨 CI failed on `${{ github.event.repository.name }}:${{ github.event.workflow.name }}`." } }, { diff --git a/docs/content/build/1-quickstart.md b/docs/content/build/1-quickstart.md index 352aaf87d..c353661eb 100644 --- a/docs/content/build/1-quickstart.md +++ b/docs/content/build/1-quickstart.md @@ -38,7 +38,7 @@ And the Omni CLI: ```bash # install -curl -sSfL https://raw.githubusercontent.com/omni-network/omni/main/scripts/install_omni_cli.sh | sh -s +curl -sSfL https://raw.githubusercontent.com/omni-network/omni/main/scripts/install_omni_cli.sh | bash -s # check installation omni version diff --git a/docs/content/operate/1-run-full-node.md b/docs/content/operate/1-run-full-node.md index 559500b61..0ae598103 100644 --- a/docs/content/operate/1-run-full-node.md +++ b/docs/content/operate/1-run-full-node.md @@ -12,7 +12,7 @@ The simplest way to run a full node is with the following commands: ```bash # install the omni cli (or download https://github.com/omni-network/omni/releases/latest) -curl -sSfL https://raw.githubusercontent.com/omni-network/omni/main/scripts/install_omni_cli.sh | sh -s +curl -sSfL https://raw.githubusercontent.com/omni-network/omni/main/scripts/install_omni_cli.sh | bash -s # init halo and geth omni operator init-nodes --network=omega --moniker=foo