Skip to content

feat: add ci/cd, install script, and update docs for binary-only depl… #1

feat: add ci/cd, install script, and update docs for binary-only depl…

feat: add ci/cd, install script, and update docs for binary-only depl… #1

Workflow file for this run

name: Build and Release
on:
push:
branches: [ "main" ]
workflow_dispatch:
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: npm ci
- name: Build Linux Binary
run: npm run build:linux
- name: Create Release
uses: softprops/action-gh-release@v1
with:
name: Latest Build
tag_name: latest
files: dist/miloco-bot-linux
draft: false
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}