We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac5bf1f commit b3c7bfcCopy full SHA for b3c7bfc
1 file changed
.github/workflows/tag-docs-release.yml
@@ -0,0 +1,38 @@
1
+name: Tag Documentation Release
2
+
3
+on:
4
+ release:
5
+ types:
6
+ - published
7
+ workflow_dispatch: {}
8
9
+jobs:
10
+ tag:
11
+ name: Tag
12
+ runs-on: ubuntu-latest
13
+ steps:
14
15
+ - name: Parse Event
16
+ id: event
17
+ run: |
18
+ echo "::set-output name=tag::$(jq -r '.release.tag_name' "${GITHUB_EVENT_PATH}" | sed s/^v//)"
19
20
+ - name: Checkout
21
+ uses: actions/checkout@v2
22
+ with:
23
+ fetch-depth: 0
24
25
+ - name: Get Release Tag
26
+ id: tag
27
+ uses: paketo-buildpacks/github-config/actions/tag/tag-docs-submodule@main
28
29
+ version: ${{ steps.event.outputs.tag }}
30
31
+ - name: Create Docs Tag
32
33
+ git tag ${{ steps.tag.outputs.tag }}
34
35
+ - name: Push
36
+ uses: paketo-buildpacks/github-config/actions/pull-request/push-branch@main
37
38
+ branch: main
0 commit comments