Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/deploy-cloudrun.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,21 +72,21 @@ jobs:
CONTAINER: ${{ inputs.container }}
run: |
if [ -n "$CONTAINER" ]; then
CONTAINER_FLAG="--container $CONTAINER"
set -- --container "$CONTAINER"
else
CONTAINER_FLAG=""
set --
fi
IMAGE="${{ inputs.registry }}/${{ inputs.artifact-repository }}:${{ inputs.artifact-tag }}"
EXTRA_FLAGS="${{ inputs.flags }}"
gcloud config set run/region "${{ inputs.region }}"
if [ -n "${{ inputs.job-name }}" ]; then
gcloud beta run jobs deploy "${{ inputs.job-name }}" \
${CONTAINER_FLAG} \
"$@" \
--image "$IMAGE" \
${EXTRA_FLAGS}
else
gcloud run deploy "${{ inputs.service-name }}" \
${CONTAINER_FLAG} \
"$@" \
--image "$IMAGE" \
${EXTRA_FLAGS}
fi
2 changes: 1 addition & 1 deletion DESIGN.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ They live in
(Note: _not_ this repository). This way if you go in your repository to
“Actions” → “New workflow” you will see them under “By verkstedt”.

![](./screenshots/workflows-by-verkstedt.png)
<img alt="" src="./screenshots/workflows-by-verkstedt.png" />

You can also just copy these template files directly to your repository.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

- [projects using this](https://github.com/search?type=code&q=-repo:verkstedt/actions+path:.github/workflows/+uses:+verkstedt/actions)

![](./screenshots/run.png)
<img alt="" src="./screenshots/run.png" />

## Technical design

Expand Down
2 changes: 2 additions & 0 deletions ref-comment-in-commit/index.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint import/no-unresolved: [2, { ignore: ['@actions/'] }] -- This script run in GitHub CI */

import * as core from '@actions/core'
import * as github from '@actions/github'

Expand Down