Skip to content

Commit

Permalink
fixed pages build
Browse files Browse the repository at this point in the history
  • Loading branch information
ROBlNET13 committed Dec 14, 2024
1 parent 0412994 commit e5663d7
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/versionfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,16 @@ jobs:
run: |
echo "${{ github.sha }}" > v.txt
- name: Commit and push v.txt
- name: Commit and push changes and trigger another workflow
run: |
git config user.name github-actions
git config user.email [email protected]
git add v.txt
git commit -m "Add v.txt with commit hash" || exit 0
git push
git config user.name github-actions
git config user.email [email protected]
git add v.txt
git commit -m "v" || exit 0
git push
curl \
-X POST \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token ${{ secrets.ACCESS_TOKEN }}" \
https://api.github.com/repos/roblnet13/pvz/actions/workflows/static.yml/dispatches \
-d '{"ref":"main"}'

0 comments on commit e5663d7

Please sign in to comment.