From d359010c0523761a7b587c47c26b480c1a1c724e Mon Sep 17 00:00:00 2001 From: Ed Page Date: Fri, 9 Jun 2023 13:28:22 -0500 Subject: [PATCH] docs: Update to maintained install.sh Fixes cobalt-org/cobalt.rs#1120 --- .github/workflows/publish.yml | 2 +- docs/deployment.md | 8 ++++---- getting-started.md | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b8bd1c2..b038cf1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,7 +15,7 @@ jobs: --crate cobalt \ --force \ --target x86_64-unknown-linux-gnu \ - --tag v0.16.5 + --tag v0.19.0 echo COBALT_BIN=~/.cargo/bin/cobalt >> $GITHUB_ENV - name: Build run: ${{ env.COBALT_BIN }} build diff --git a/docs/deployment.md b/docs/deployment.md index 553a420..b6734f5 100644 --- a/docs/deployment.md +++ b/docs/deployment.md @@ -18,13 +18,13 @@ also very easy. ```yml sudo: false before_script: - - curl -LSfs https://japaric.github.io/trust/install.sh | + - curl -LSfs https://raw.githubusercontent.com/crate-ci/gh-install/master/v1/install.sh | sh -s -- --git cobalt-org/cobalt.rs --crate cobalt --force --target x86_64-unknown-linux-gnu - --tag v0.15.0 + --tag v0.19.0 - export PATH="$PATH:~/.cargo/bin" script: - cobalt build @@ -74,11 +74,11 @@ This example `.gitlab-ci.yml` installs and runs cobalt: image: debian:latest variables: - COBALT_VERSION: "v0.15.0" + COBALT_VERSION: "v0.19.0" pages: script: - apt-get update && apt-get -y install curl - - curl -LSfs https://japaric.github.io/trust/install.sh | + - curl -LSfs https://raw.githubusercontent.com/crate-ci/gh-install/master/v1/install.sh | sh -s -- --git cobalt-org/cobalt.rs --crate cobalt diff --git a/getting-started.md b/getting-started.md index 266db91..bcd69b1 100644 --- a/getting-started.md +++ b/getting-started.md @@ -10,7 +10,7 @@ Download a [release](https://github.com/cobalt-org/cobalt.rs/releases). or ``` -$ curl -LSfs https://japaric.github.io/trust/install.sh | sh -s -- --git cobalt-org/cobalt.rs --crate cobalt +$ curl -LSfs https://raw.githubusercontent.com/crate-ci/gh-install/master/v1/install.sh | sh -s -- --git cobalt-org/cobalt.rs --crate cobalt ``` ### Usage