This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/website
Gerhard Lazu 6db19fcea2
Allow any published dagger version to be installed via install.sh
This also updates Getting Started - CI/CD in your local dev - Linux & Mac doc.
A few other related doc changes were pulled in by this.

I wanted to try different versions of dagger on Linux, and this was the
easiest way of doing that:

    curl -L https://dl.dagger.io/dagger/install.sh -O
    # make this change, and then:

    DAGGER_VERSION=0.2.0 sh install.sh
    # ...
    ./bin/dagger version
    dagger 0.2.0 (e499297e) linux/amd64

    DAGGER_VERSION=0.2.1 sh install.sh
    # ...
    ./bin/dagger version
    dagger 0.2.1 (69b4845d) linux/amd64

This change enables anyone to do the following instead:

    curl -L https://dl.dagger.io/dagger/install.sh \
    | DAGGER_VERSION=0.2.0 sh

Until this gets merged, you can test how this change works in practice
via this temporary file:

    curl -L https://dl.dagger.io/dagger/install-pr-1819.sh \
    | DAGGER_VERSION=0.2.0 sh

One thing which I was not sure about is how the file from this
repository ends up on https://dl.dagger.io/dagger/install.sh. I think
this is a manual process today, but I need to confirm this assumption.

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-24 23:28:07 +00:00
..
cypress docs: 🐛 increate cypress get timeout to avoid github action errors 2022-01-19 10:42:12 +01:00
plugins/docusaurus-plugin-hotjar docs: collect feedback form 2021-08-06 15:29:23 +02:00
src fix query string checking to avoid wrong redirection 2022-03-14 12:31:33 +01:00
static Allow any published dagger version to be installed via install.sh 2022-03-24 23:28:07 +00:00
.gitignore docs: remove .env 2021-06-14 14:15:12 +02:00
.prettierrc docs: 🐛 fix css for mobile devices 2021-08-25 09:38:34 +02:00
babel.config.js docs: rename tools/daggosaurus to website 2021-06-04 13:49:20 -07:00
cypress.json docs: init cypress test e2e 2021-08-10 15:39:13 +02:00
docsearch.config.json Rebuild Algolia search index for docs 2022-03-23 14:57:33 +00:00
docusaurus.config.js Bump up docusaurus to the latest version 2022-03-09 09:07:55 +01:00
env.example Rebuild Algolia search index for docs 2022-03-23 14:57:33 +00:00
netlify.toml Always deploy the docs 2022-03-01 19:22:10 +00:00
package.json build(deps-dev): bump cypress from 9.5.1 to 9.5.2 in /website 2022-03-15 19:18:47 +00:00
README.md docs: rename tools/daggosaurus to website 2021-06-04 13:49:20 -07:00
rebuild_algolia_docs_search_index.sh Rebuild Algolia search index for docs 2022-03-23 14:57:33 +00:00
sidebars.js Add missing definitions to Dagger CUE API 2022-03-15 21:44:37 +00:00
yarn.lock build(deps): bump node-forge from 1.2.1 to 1.3.0 in /website 2022-03-24 10:50:12 +00:00

Website

This website is built using Docusaurus 2, a modern static website generator.

Installation

yarn install

Local Development

yarn start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.