Update prod.yml

This commit is contained in:
itsscb 2024-08-28 20:33:20 +02:00 committed by GitHub
parent ab78b192f5
commit 928d0fa8ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -77,6 +77,15 @@ jobs:
run: ls -R
working-directory: ./frontend/dist
- name: commit frontend release build
run: |
git config --global user.name "GitHub Action"
git config --global user.email "actions@github.com"
git add frontend/dist -f
git diff --staged --quiet || (git commit -m "release: frontend build ${{ github.sha }} [skip ci]" && git push)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: shuttle-hq/deploy-action@main
with:
deploy-key: ${{ secrets.SHUTTLE_API_KEY }}