Skip to content

Commit

Permalink
workflow change
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbruv committed Jul 23, 2024
1 parent 5eb9e78 commit bb34b32
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ jobs:
website:
runs-on: ubuntu-latest
permissions:
contents: write
needs: build
if: github.ref == 'refs/heads/main'
steps:
Expand Down Expand Up @@ -118,3 +120,20 @@ jobs:
folder: dist # The folder the action should deploy.
clean: true
single-commit: true

- name: Commit Changes
continue-on-error: true
run: |
git status
git pull
git config --global user.name "BFBB Actions Bot"
git config --global user.email "[email protected]"
git add .
git commit -m "automated commit cache update"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
repository: bfbbdecomp/website
branch: ${{ github.ref }}

0 comments on commit bb34b32

Please sign in to comment.