docs: rename tools/daggosaurus to website

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi 2021-06-04 13:28:38 -07:00
parent d755281e55
commit e9b952a882
43 changed files with 22 additions and 10 deletions

View File

@ -12,8 +12,8 @@ repository: dagger.#Artifact @dagger(input)
// Build the docs website
docs: yarn.#Package & {
source: repository
cwd: "tools/daggosaurus/"
buildDir: "tools/daggosaurus/build"
cwd: "website/"
buildDir: "website/build"
}
// Deploy the docs website

View File

@ -9,6 +9,6 @@ updates:
schedule:
interval: "daily"
- package-ecosystem: "npm"
directory: "/tools/daggosaurus"
directory: "/website"
schedule:
interval: "daily"

View File

@ -52,5 +52,5 @@ install: dagger
.PHONY: docs
docs:
yarn --cwd "./tools/daggosaurus" install
yarn --cwd "./tools/daggosaurus" start
yarn --cwd "./website" install
yarn --cwd "./website" start

View File

@ -1,6 +1,18 @@
[build]
base = "tools/daggosaurus/"
base = "website/"
publish = "build/"
command = "yarn build"
# build only if there are changes within daggosaurus or docs directories.
ignore = "[ $BRANCH != main ] && git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF . ../../docs/"
[context.production]
# Do not build the site if there's no site-related changes since the last
# commit.
# This assumes PRs to `main` only contain merge commits, so it's safe to
# compare the current commit to the previous.
# We can't use `$CACHED_COMMIT_REF` because that points to the PR preview
# that was built before merging.
ignore = "git diff --quiet HEAD^ HEAD -- . ../docs/ ../netlify.toml"
[context.deploy-preview]
# Do not build the site if there's no site-related changes since the last
# deploy.
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF . ../docs/ ../netlify.toml"

View File

@ -1 +0,0 @@
../../docs

1
website/docs Symbolic link
View File

@ -0,0 +1 @@
../docs

View File

@ -1,5 +1,5 @@
{
"name": "daggosaurus",
"name": "dagger-docs",
"version": "0.0.0",
"private": true,
"scripts": {

View File

Before

Width:  |  Height:  |  Size: 648 B

After

Width:  |  Height:  |  Size: 648 B

View File

Before

Width:  |  Height:  |  Size: 653 B

After

Width:  |  Height:  |  Size: 653 B

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 830 B

After

Width:  |  Height:  |  Size: 830 B

View File

Before

Width:  |  Height:  |  Size: 402 B

After

Width:  |  Height:  |  Size: 402 B

View File

Before

Width:  |  Height:  |  Size: 405 B

After

Width:  |  Height:  |  Size: 405 B

View File

Before

Width:  |  Height:  |  Size: 406 B

After

Width:  |  Height:  |  Size: 406 B

View File

Before

Width:  |  Height:  |  Size: 402 B

After

Width:  |  Height:  |  Size: 402 B

View File

Before

Width:  |  Height:  |  Size: 748 B

After

Width:  |  Height:  |  Size: 748 B

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Before

Width:  |  Height:  |  Size: 883 B

After

Width:  |  Height:  |  Size: 883 B

View File

Before

Width:  |  Height:  |  Size: 804 B

After

Width:  |  Height:  |  Size: 804 B

View File

Before

Width:  |  Height:  |  Size: 801 B

After

Width:  |  Height:  |  Size: 801 B

View File

Before

Width:  |  Height:  |  Size: 827 B

After

Width:  |  Height:  |  Size: 827 B

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB