Update build.yml

This commit is contained in:
bip production
2025-02-21 16:52:10 +08:00
committed by GitHub
parent 88330c2ada
commit cbb39eaacc

View File

@@ -65,6 +65,16 @@ jobs:
- name: Build project
run: bun run build >> build.txt 2>&1
# Ensure /var/www exists
- name: Ensure /var/www/projects/desa-darmasaba exists
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.VPS_HOST }}
username: ${{ secrets.VPS_USERNAME }}
key: ${{ secrets.VPS_SSH_KEY }}
script: |
mkdir -p /var/www/projects/desa-darmasaba
# Send email with GitHub Actions logs
- name: Send email with logs
uses: dawidd6/action-send-mail@v3