fix(actions)
This commit is contained in:
parent
ee5ab8a2cf
commit
f009b7a377
1 changed files with 8 additions and 7 deletions
|
@ -23,10 +23,11 @@ jobs:
|
|||
bun install
|
||||
bun run build
|
||||
|
||||
- name: Commit dist
|
||||
run: |
|
||||
git config user.name "gitea-actions[bot]"
|
||||
git config user.email "gitea-actions[bot]@git.z0x.ca"
|
||||
git add -f dist
|
||||
git commit -m "ci(dist): build dist"
|
||||
git push -f origin build
|
||||
- name: Deploy to VPS
|
||||
uses: appleboy/scp-action@master
|
||||
with:
|
||||
host: ${{ secrets.HOST }}
|
||||
username: ${{ secrets.USERNAME }}
|
||||
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
source: "dist/*"
|
||||
target: ${{ secrets.TARGET }}
|
||||
|
|
Loading…
Add table
Reference in a new issue