Skip to content

Commit

Permalink
Exclude 'run' from gh-action for deploys
Browse files Browse the repository at this point in the history
  • Loading branch information
ignoramous committed Jan 23, 2022
1 parent d38147b commit 465223d
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/cf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ on:
- ".prettierignore"
- "fly.toml"
- "README.md"
- "node.Dockerfile"
- "deno.Dockerfile"
- "import_map.json"
- ".vscode/*"
- ".husky/*"
- ".prettierrc.json"
- "LICENSE"
- "run"
repository_dispatch:
jobs:
deploy:
Expand All @@ -47,6 +55,4 @@ jobs:
environment: ${{ github.event.inputs.environment }}
env:
CF_ACCOUNT_ID: ${{secrets.CF_ACCOUNT_ID}}
#
#
GIT_COMMIT_ID: ${{ github.event.inputs.commit }}.
8 changes: 8 additions & 0 deletions .github/workflows/deno-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ on:
- ".prettierignore"
- "README.md"
- "wrangler.toml"
- "fly.toml"
- "node.Dockerfile"
- "deno.Dockerfile"
- ".vscode/*"
- ".husky/*"
- ".prettierrc.json"
- "LICENSE"
- "run"
workflow_dispatch:
inputs:
git-ref:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/fly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ on:
- ".prettierignore"
- "wrangler.toml"
- "README.md"
- "wrangler.toml"
- ".vscode/*"
- ".husky/*"
- ".prettierrc.json"
- "LICENSE"
- "run"
workflow_dispatch:
inputs:
git-ref:
Expand Down
1 change: 1 addition & 0 deletions run
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ banner() {
echo " ";
}

# this script is for development/test runs only
runtime="${1:-node}"
if [ $runtime = "deno" ]; then
echo "using `which deno`";
Expand Down

0 comments on commit 465223d

Please sign in to comment.