mirror of
https://github.com/beta-nu-theta-chi/bylaws.git
synced 2025-12-07 11:44:47 +00:00
30 lines
721 B
YAML
Executable File
30 lines
721 B
YAML
Executable File
name: Releases
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'release-*'
|
|
workflow_dispatch:
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
- name: Install Nix
|
|
uses: cachix/install-nix-action@v30
|
|
- name: Build Project
|
|
shell: bash
|
|
run: |
|
|
sh build.sh
|
|
- uses: ncipollo/release-action@v1
|
|
with:
|
|
artifacts: "result/pdf/*,result/*.tar.gz"
|
|
# - name: Upload artifact
|
|
# uses: actions/upload-pages-artifact@v3
|
|
# with:
|
|
# path: "result/site"
|
|
# - name: Deploy to GitHub Pages
|
|
# id: deployment
|
|
# uses: actions/deploy-pages@v4 |