diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 93abce6e..3e71f0a0 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -11,7 +11,9 @@ jobs: steps: - name: Checkout master uses: actions/checkout@v1 - + - name: Copy assets + run: | + cp install/tk.sh docs/install.sh - name: Deploy docs uses: mhausenblas/mkdocs-deploy-gh-pages@master env: diff --git a/docs/get-started/index.md b/docs/get-started/index.md index d135bb80..f3b40cb4 100644 --- a/docs/get-started/index.md +++ b/docs/get-started/index.md @@ -19,7 +19,7 @@ that can create repositories. To install the latest `tk` release run: ```bash -curl -s https://raw.githubusercontent.com/fluxcd/toolkit/master/install/tk.sh | sudo bash +curl -s https:/fluxcd.github.io/toolkit/install.sh | sudo bash ``` The install script downloads the tk binary to `/usr/local/bin`. @@ -49,7 +49,11 @@ If the toolkit components are present on the cluster, the bootstrap command will perform an upgrade if needed. ```sh -tk bootstrap github --owner= --repository= --personal +tk bootstrap github \ + --owner= \ + --repository= \ + --path=dev-cluster \ + --personal ``` If you wish to create the repository under a GitHub organization: @@ -60,7 +64,7 @@ tk bootstrap github \ --repository= \ --team= \ --team= \ - --version=v0.0.1-beta.2 + --path=dev-cluster ``` Example output: