fix(actions)

This commit is contained in:
z0x 2025-01-25 14:37:40 -05:00
parent 8f8d08f30f
commit d6bb71cba4

View file

@ -23,11 +23,26 @@ jobs:
- name: Build - name: Build
run: bun run build run: bun run build
- name: Push - name: Checkout build branch
uses: s0/git-publish-subdir-action@develop uses: actions/checkout@v4
env: with:
REPO: git@10.0.0.5:3030:z0x/z0x.ca.git ref: build
BRANCH: build path: build
FOLDER: dist
SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_PRIVATE_KEY }} - name: Copy dist to build branch
run: |
mkdir -p build/dist
cp -R dist/* build/dist/
- name: Configure Git
run: |
git config --local user.name "gitea-actions[bot]"
git config --local user.email "gitea-actions[bot]@git.z0x.ca"
- name: Commit and Push changes
run: |
cd build
git add .
git commit -m "ci(dist): build dist" || echo "No changes to commit"
git push origin build