adding github actions

This commit is contained in:
Andy Pack 2024-01-28 19:37:35 +00:00
parent c994be0b3f
commit 81a99d56ba
Signed by: sarsoo
GPG Key ID: A55BA3536A5E0ED7

30
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,30 @@
name: Build Binaries
on:
# Runs on pushes targeting the default branch
push:
branches: ["master"]
# Allow one concurrent deployment
concurrency:
group: "build"
cancel-in-progress: true
jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Install Hugo CLI
run: sudo apt install hugo
- name: Checkout
uses: actions/checkout@v3
- name: Install Rust
uses: actions-rs/toolchain@v1
- name: Cargo Build
uses: actions-rs/cargo@v1
with:
command: build