File tree Expand file tree Collapse file tree 5 files changed +13
-48
lines changed
Expand file tree Collapse file tree 5 files changed +13
-48
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- name : Deploy
1+ name : Lint
22on :
33 push :
44 branches : main
55 pull_request :
66 branches : main
77
88jobs :
9- deploy :
10- name : Deploy
9+ lint :
10+ name : lint and link check
1111 runs-on : ubuntu-22.04-xl
1212 permissions :
1313 id-token : write # Needed for auth with Deno Deploy
2222 with :
2323 cache : true
2424
25+ - run : deno fmt --check
26+ - run : deno task test
27+
2528 - name : " Reference: install"
2629 working-directory : " reference_gen"
2730 run : deno install
@@ -41,30 +44,10 @@ jobs:
4144 ORAMA_PRIVATE_API_KEY : ${{ secrets.ORAMA_PRIVATE_API_KEY }}
4245 run : deno task build
4346
44- - name : Generate search index (Orama upload disabled)
45- env :
46- ORAMA_PROJECT_ID : ${{ vars.ORAMA_PROJECT_ID }}
47- ORAMA_DATASOURCE_ID : ${{ vars.ORAMA_DATASOURCE_ID }}
48- ORAMA_PRIVATE_API_KEY : ${{ secrets.ORAMA_PRIVATE_API_KEY }}
49- run : |
50- echo "Generating search index..."
51- deno task generate:search
52- echo "Skipping upload of search index to Orama Cloud (temporarily disabled)."
53- # NOTE: Temporarily disabling Orama upload.
54- # To re-enable, uncomment the next line:
55- # deno task search:upload
56-
5747 - name : Run server
5848 run : deno run --allow-read=. --allow-net --allow-env --lock=deno.lock server.ts &
5949
6050 - name : Link checker
6151 env :
6252 DOCS_ROOT : " http://localhost:8000"
6353 run : deno run --no-lock --allow-net --allow-env .github/workflows/better_link_checker.ts
64-
65- - name : Upload to Deno Deploy
66- uses : denoland/deployctl@v1
67- with :
68- project : " deno-docs"
69- entrypoint : " server.ts"
70- root : " ."
Original file line number Diff line number Diff line change 2222 },
2323 "tasks" : {
2424 "dev" : " LUME_LOGS=WARN deno run --env-file -A lume.ts -s" ,
25- "dev:std" : " deno task generate:std-docs && LUME_LOGS=WARN deno run --env-file -A lume.ts -s" ,
2625 "serve" : " deno task dev" ,
27- "serve:style" : " BUILD_TYPE=FULL deno task lume -s --config=_config-styleguide.ts" ,
2826 "start" : " deno task dev" ,
2927 "build" : " deno task generate:reference && deno task generate:std-docs && BUILD_TYPE=FULL deno run --env-file -A --v8-flags=--max-old-space-size=4096 lume.ts && tailwindcss -i styles.css -o _site/styles.css --minify" ,
30- "build:light" : " deno run --env-file -A lume.ts" ,
3128 "prod" : " deno run --allow-read --allow-env --allow-net server.ts" ,
3229 "test" : " deno test -A" ,
3330 "check:links" : " deno run --no-lock --allow-net --allow-env .github/workflows/better_link_checker.ts" ,
34- "check:links:local" : " deno run --allow-net --allow-env check_links_local.ts" ,
35- "install:hooks" : " bash scripts/install-pre-commit-hook.sh" ,
3631 "lint:update" : " deno run -A update_lint_rules.ts" ,
3732 "generate:search" : " deno run -A orama/generate_orama_index_full.ts" ,
3833 "generate:search:docs-only" : " deno run -A orama/generate.ts" ,
Original file line number Diff line number Diff line change @@ -104,6 +104,13 @@ Let's [tag](https://docs.docker.com/engine/reference/commandline/tag/) it with
104104docker tag deno-image registry.digitalocean.com/deno-on-digital-ocean/deno-image:new
105105` ` `
106106
107+ Before pushing, authenticate your Docker client with Digital Ocean Container
108+ Registry :
109+
110+ ` ` ` shell
111+ doctl registry login
112+ ` ` `
113+
107114Now we can push it to the registry.
108115
109116` ` ` shell
Original file line number Diff line number Diff line change @@ -12,6 +12,5 @@ stability: unstable
1212
1313The @std/log package is likely to be removed in the future; consider using
1414[ OpenTelemetry] ( /runtime/fundamentals/open_telemetry/ ) for production systems.
15- bump.
1615
1716:::
You can’t perform that action at this time.
0 commit comments