Skip to content

Commit

Permalink
fix: auto deploy site
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinchappell committed Aug 20, 2023
1 parent c6ed3c5 commit 676a1ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
- name: Deploy the website
env:
VERSION: ${{ steps.get_version.outputs.version }}
TOKEN: ${{ secrets.FORMBUILDER_SITE_PAT }}
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
Expand All @@ -59,4 +60,4 @@ jobs:
# Commit and push the changes
git commit -am "Update site to ${{ env.VERSION }}"
git push https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/kevinchappell/formBuilder-site.git master
git push https://${{ secrets.TOKEN }}@github.com/kevinchappell/formBuilder-site.git master

0 comments on commit 676a1ec

Please sign in to comment.