Skip to content

Commit 2a42f54

Browse files
authored
docs: update to match latest version of v0.6.x (#1614)
1 parent 18a9944 commit 2a42f54

File tree

5 files changed

+10
-11
lines changed

5 files changed

+10
-11
lines changed

docs/cloud-providers/authenticating-with-oidc-on-aws.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ name: Digger Workflow
1010
on:
1111
workflow_dispatch:
1212
inputs:
13-
id:
14-
description: 'run identifier'
13+
run_name:
1514
required: false
1615
spec:
1716
required: true

docs/getting-started/github-actions-+-aws.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ jobs:
6363
6464
steps:
6565
- uses: actions/checkout@v4
66-
- name: ${{github.event.inputs.id}}
67-
run: echo job id ${{ inputs.id }}
66+
- name: ${{ fromJSON(github.event.inputs.spec).job_id }}
67+
run: echo "job id ${{ fromJSON(github.event.inputs.spec).job_id }}"
6868
- uses: diggerhq/digger@vLatest
6969
with:
70-
digger-spec: ${{ inputs.digger-spec }}
70+
digger-spec: ${{ inputs.spec }}
7171
setup-aws: true
7272
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
7373
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

docs/getting-started/github-actions-and-gcp.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ jobs:
6262
statuses: write # required to validate combined PR status
6363
steps:
6464
- uses: actions/checkout@v4
65-
- name: ${{github.event.inputs.id}}
66-
run: echo job id ${{ inputs.id }}
65+
- name: ${{ fromJSON(github.event.inputs.spec).job_id }}
66+
run: echo "job id ${{ fromJSON(github.event.inputs.spec).job_id }}"
6767
- id: 'auth'
6868
uses: 'google-github-actions/auth@v1'
6969
with:

docs/howto/multiacc-aws.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ jobs:
6969
7070
steps:
7171
- uses: actions/checkout@v4
72-
- name: ${{github.event.inputs.id}}
73-
run: echo job id ${{ inputs.id }}
72+
- name: ${{ fromJSON(github.event.inputs.spec).job_id }}
73+
run: echo "job id ${{ fromJSON(github.event.inputs.spec).job_id }}"
7474
- uses: diggerhq/digger@vLatest
7575
with:
7676
digger-spec: ${{ inputs.spec }}

docs/troubleshooting/comments.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ Sometimes the link to job status leads to the PR instead of the Action job. E.g.
99
The likely reason is that the step that exposes the job id is missing from the workflow file. Add it right after checkout (most importantly, before Digger):
1010

1111
```
12-
- name: ${{github.event.inputs.id}}
13-
run: echo job id ${{ inputs.id }}
12+
- name: ${{ fromJSON(github.event.inputs.spec).job_id }}
13+
run: echo "job id ${{ fromJSON(github.event.inputs.spec).job_id }}"
1414
```

0 commit comments

Comments
 (0)