z0x.ca/.gitea/workflows/build-dist.yaml
2025-01-25 14:29:09 -05:00

28 lines
570 B
YAML

name: Build and Deploy Dist
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
name: Build and Push
steps:
- name: Checkout main branch
uses: actions/checkout@v4
- name: Install dependencies
run: bun install
- name: Build
run: bun run build
- name: Push
uses: s0/git-publish-subdir-action@develop
env:
REPO: git@git.home.arpa:z0x/z0x.ca.git
BRANCH: build
FOLDER: dist
SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_PRIVATE_KEY }}