Skip to content

Commit 2f17ca8

Browse files
committed
test(validation): testing json validation
1 parent cf47335 commit 2f17ca8

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/update_docs.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,14 @@ jobs:
2929
echo -e "\n# epic Provider\n$(cat docs/index.md)" > docs/index.md
3030
echo "${{ steps.script_output.outputs.result }}" >> docs/index.md
3131
32-
- name: Commit and Push changes
32+
- uses: actions/checkout@v3
33+
with:
34+
ref: ${{ github.ref_name }}
35+
36+
- name: Git push docs/index.md with media type and title mapping
3337
run: |
3438
git config --global user.name "${{ vars.TF_THESUDO_CI_COMMIT_AUTHOR }}"
3539
git config --global user.email "${{ vars.TF_THESUDO_CI_COMMIT_EMAIL }}"
3640
git add .
37-
git commit -a -m "Update changelog"
38-
git push "https://${{ vars.TF_THESUDO_CI_COMMIT_AUTHOR }}:${{ secrets.TF_THESUDO_COMMIT_GITHUB_TOKEN }}@github.com/${{ github.repository }}.git"
41+
git commit -a -m "Update docs/index.md"
42+
git push "https://${{ vars.TF_THESUDO_CI_COMMIT_AUTHOR }}:${{ secrets.TF_THESUDO_COMMIT_GITHUB_TOKEN }}@github.com/${{ github.repository }}.git"

0 commit comments

Comments
 (0)