Skip to content
This repository was archived by the owner on Nov 25, 2025. It is now read-only.

Introduce deploy GitHub Action #1

Introduce deploy GitHub Action

Introduce deploy GitHub Action #1

Workflow file for this run

# .github/workflows/deploy.yml
name: Build and Publish
on:
push:
branches:
- main
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v24
- name: Authenticate GitHub CLI with PAT
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
nix develop --impure --command bash -c './build.sh && ./publish.sh'