Skip to content

Commit

Permalink
add envs
Browse files Browse the repository at this point in the history
  • Loading branch information
Aslemammad committed Mar 21, 2024
1 parent fa8a536 commit 5e78361
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ dist
.nitro
.cache
.output
.env
.env*
7 changes: 7 additions & 0 deletions packages/cli/environments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,15 @@ declare global {
GITHUB_EVENT_PATH: string;
// A unique number for each workflow run within a repository. This number does not change if you re-run the workflow run. For example, 1658821493.
GITHUB_RUN_ID: string;
// A unique number for each attempt of a particular workflow run in a repository. This number begins at 1 for the workflow run's first attempt, and increments with each re-run. For example, 3.
GITHUB_RUN_ATTEMPT: string
}
}
}

// npm i https://pkg.sb.dev/dai-shi/waku/feature-a/54a65813/waku # stackblitz
// npm i https://pkg.sb.dev/dai-shi/waku/feature-a/waku # stackblitz
// npm i https://pkg.sb.dev/{GITHUB_REPOSITORY}/{GITHUB_REF_NAME}/{GITHUB_SHA}/{published-package} # stackblitz
// npm i https://pkg.sb.dev/54a6581354a65813 # short-form stackblitz

export {};
2 changes: 1 addition & 1 deletion packages/cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const main = defineCommand({
meta: {
version,
name: "stackblitz",
description: "A CLI for stackblitz CR (Continuous Releases)",
description: "A CLI for Stackblitz CR (Continuous Releases)",
},
subCommands: {
publish: () => {
Expand Down

0 comments on commit 5e78361

Please sign in to comment.