docs: rename tools/daggosaurus to website
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
4
.dagger/env/docs/plan/main.cue
vendored
@ -12,8 +12,8 @@ repository: dagger.#Artifact @dagger(input)
|
|||||||
// Build the docs website
|
// Build the docs website
|
||||||
docs: yarn.#Package & {
|
docs: yarn.#Package & {
|
||||||
source: repository
|
source: repository
|
||||||
cwd: "tools/daggosaurus/"
|
cwd: "website/"
|
||||||
buildDir: "tools/daggosaurus/build"
|
buildDir: "website/build"
|
||||||
}
|
}
|
||||||
|
|
||||||
// Deploy the docs website
|
// Deploy the docs website
|
||||||
|
2
.github/dependabot.yml
vendored
@ -9,6 +9,6 @@ updates:
|
|||||||
schedule:
|
schedule:
|
||||||
interval: "daily"
|
interval: "daily"
|
||||||
- package-ecosystem: "npm"
|
- package-ecosystem: "npm"
|
||||||
directory: "/tools/daggosaurus"
|
directory: "/website"
|
||||||
schedule:
|
schedule:
|
||||||
interval: "daily"
|
interval: "daily"
|
||||||
|
4
Makefile
@ -52,5 +52,5 @@ install: dagger
|
|||||||
|
|
||||||
.PHONY: docs
|
.PHONY: docs
|
||||||
docs:
|
docs:
|
||||||
yarn --cwd "./tools/daggosaurus" install
|
yarn --cwd "./website" install
|
||||||
yarn --cwd "./tools/daggosaurus" start
|
yarn --cwd "./website" start
|
||||||
|
18
netlify.toml
@ -1,6 +1,18 @@
|
|||||||
[build]
|
[build]
|
||||||
base = "tools/daggosaurus/"
|
base = "website/"
|
||||||
publish = "build/"
|
publish = "build/"
|
||||||
command = "yarn 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"
|
||||||
|
@ -1 +0,0 @@
|
|||||||
../../docs
|
|
1
website/docs
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../docs
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "daggosaurus",
|
"name": "dagger-docs",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
Before Width: | Height: | Size: 648 B After Width: | Height: | Size: 648 B |
Before Width: | Height: | Size: 653 B After Width: | Height: | Size: 653 B |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 830 B After Width: | Height: | Size: 830 B |
Before Width: | Height: | Size: 402 B After Width: | Height: | Size: 402 B |
Before Width: | Height: | Size: 405 B After Width: | Height: | Size: 405 B |
Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 406 B |
Before Width: | Height: | Size: 402 B After Width: | Height: | Size: 402 B |
Before Width: | Height: | Size: 748 B After Width: | Height: | Size: 748 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 883 B After Width: | Height: | Size: 883 B |
Before Width: | Height: | Size: 804 B After Width: | Height: | Size: 804 B |
Before Width: | Height: | Size: 801 B After Width: | Height: | Size: 801 B |
Before Width: | Height: | Size: 827 B After Width: | Height: | Size: 827 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |