Files
ozan 7482278ae1
Build tinqs-git / build (push) Waiting to run
Deploy arikigame.com / deploy (push) Waiting to run
refactor: remove pre-Studio website; wire arikigame.com into monorepo
Delete web/landing (legacy tinqs-ltd/website Next.js). Add web/arikigame with static public site and deploy-arikigame.yml (S3 + CloudFront). Link Ariki from tinqs.com logged-out home. Fix build.yml to trigger on main.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-22 08:03:43 +01:00

33 lines
975 B
YAML

name: Build tinqs-git
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: host
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.26.2'
- uses: actions/setup-node@v4
with:
node-version: '22'
- run: npm install -g pnpm
- name: Build tinqs-git
run: TAGS="bindata sqlite sqlite_unlock_notify" make build
- name: Verify binary
run: ls -lh gitea && echo "Build successful"
- name: Upload to S3
run: |
SHORT_SHA=$(echo "${GITHUB_SHA:-$(git rev-parse --short HEAD)}" | cut -c1-10)
echo "Uploading tinqs-git ($SHORT_SHA) to S3..."
aws s3 cp gitea "s3://tinqs-cli-releases/tinqs-git/$SHORT_SHA/tinqs-git"
aws s3 cp gitea "s3://tinqs-cli-releases/tinqs-git/latest/tinqs-git"
echo "OK tinqs-git ($SHORT_SHA) → s3://tinqs-cli-releases/tinqs-git/"