Skip to content

Commit

Permalink
Fix github deploy workflow's default app-directory (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleJune authored Aug 31, 2024
1 parent 7d7592c commit 0955b4f
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
app-directory:
description: The directory containing the application to deploy
type: string
default: ''
default: '.'
entrypoint:
description: The entrypoint file for running your application
type: string
Expand Down
2 changes: 1 addition & 1 deletion build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* ```jsonc
* "tasks": {
* // Builds the application.
* "build": "deno run -A --config=deno.jsonc jsr:@udibo/[email protected].1/build",
* "build": "deno run -A --config=deno.jsonc jsr:@udibo/[email protected].2/build",
* // Builds the application in development mode.
* "build-dev": "export APP_ENV=development NODE_ENV=development && deno task build",
* // Builds the application in production mode.
Expand Down
2 changes: 1 addition & 1 deletion deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@udibo/react-app",
"version": "0.24.1",
"version": "0.24.2",
"exports": {
".": "./mod.tsx",
"./build": "./build.ts",
Expand Down
2 changes: 1 addition & 1 deletion dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* ```jsonc
* "tasks": {
// Builds and runs the application in development mode, with hot reloading.
* "dev": "export APP_ENV=development NODE_ENV=development && deno run -A --config=deno.jsonc jsr:@udibo/[email protected].1/dev",
* "dev": "export APP_ENV=development NODE_ENV=development && deno run -A --config=deno.jsonc jsr:@udibo/[email protected].2/dev",
* }
* ```
*
Expand Down
10 changes: 5 additions & 5 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,13 @@ Node.js-like environment.
{
"tasks": {
// Builds the application.
"build": "deno run -A --config=deno.jsonc jsr:@udibo/[email protected].1/build",
"build": "deno run -A --config=deno.jsonc jsr:@udibo/[email protected].2/build",
// Builds the application in development mode.
"build-dev": "export APP_ENV=development NODE_ENV=development && deno task build",
// Builds the application in production mode.
"build-prod": "export APP_ENV=production NODE_ENV=production && deno task build",
// Builds and runs the application in development mode, with hot reloading.
"dev": "export APP_ENV=development NODE_ENV=development && deno run -A --config=deno.jsonc jsr:@udibo/[email protected].1/dev",
"dev": "export APP_ENV=development NODE_ENV=development && deno run -A --config=deno.jsonc jsr:@udibo/[email protected].2/dev",
// Runs the application. Requires the application to be built first.
"run": "deno run -A ./main.ts",
// Runs the application in development mode. Requires the application to be built first.
Expand Down Expand Up @@ -141,7 +141,7 @@ Node.js-like environment.
"imports": {
"/": "./",
"./": "./",
"@udibo/react-app": "jsr:@udibo/[email protected].1",
"@udibo/react-app": "jsr:@udibo/[email protected].2",
"@std/assert": "jsr:@std/assert@1",
"@std/log": "jsr:@std/log@0",
"@std/path": "jsr:@std/path@1",
Expand Down Expand Up @@ -549,13 +549,13 @@ on:
jobs:
ci:
name: CI
uses: udibo/react-app/.github/workflows/[email protected].1
uses: udibo/react-app/.github/workflows/[email protected].2
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
cd:
name: CD
needs: ci
uses: udibo/react-app/.github/workflows/[email protected].1
uses: udibo/react-app/.github/workflows/[email protected].2
with:
project: udibo-react-app-example
```
Expand Down

0 comments on commit 0955b4f

Please sign in to comment.