We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22389d0 commit c913680Copy full SHA for c913680
1 file changed
.github/workflows/release.yaml
@@ -27,6 +27,13 @@ jobs:
27
fetch-depth: 0
28
ref: ${{ github.event.workflow_run.head_branch || github.ref }}
29
30
+ - name: Retrieve Secrets from Vault
31
+ id: vault
32
+ uses: contentful/vault-github-actions/action@v1
33
+ with:
34
+ url: ${{ secrets.VAULT_URL }}
35
+ template-preset: semantic-release
36
+
37
- name: Setup Node.js
38
uses: actions/setup-node@v6
39
with:
@@ -49,7 +56,7 @@ jobs:
49
56
echo "npm version: $(npm -v)"
50
57
npm run semantic-release
51
58
env:
52
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59
+ GITHUB_TOKEN: ${{ steps.vault.outputs.GITHUB_TOKEN }}
53
60
54
61
- name: Get latest release tag
55
62
id: get-tag
@@ -71,7 +78,7 @@ jobs:
71
78
fi
72
79
73
80
74
81
75
82
76
83
- name: Summary
77
84
run: |
0 commit comments