add auto-release on main

This commit is contained in:
tnichols217 2025-10-26 15:37:26 -04:00
parent 292f693c37
commit 480b31ff2b
No known key found for this signature in database
2 changed files with 9 additions and 3 deletions

View File

@ -1,8 +1,8 @@
name: Releases name: Releases
on: on:
push: push:
tags: branches:
- 'release-*' - main
workflow_dispatch: workflow_dispatch:
jobs: jobs:
build: build:
@ -35,6 +35,11 @@ jobs:
shell: bash shell: bash
run: | run: |
nix build --experimental-features "nix-command flakes" .#deploy nix build --experimental-features "nix-command flakes" .#deploy
- name: Get current datetime
id: datetime
run: echo "now=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_OUTPUT
- uses: ncipollo/release-action@v1 - uses: ncipollo/release-action@v1
with: with:
artifacts: "result/pdf/*,result/*.tar.gz" artifacts: "result/pdf/*,result/*.tar.gz"
tag: release-${{ steps.datetime.outputs.now }}-${{ github.run_number }}
name: ${{ steps.datetime.outputs.now }}

View File

@ -21,6 +21,7 @@
stringi stringi
]; ];
p = with pkgs; [ p = with pkgs; [
act
podman-compose podman-compose
podman podman
(quarto.override { (quarto.override {