From 81a99d56ba1e3484585be98c8138e00ac99aa17e Mon Sep 17 00:00:00 2001 From: Andy Pack Date: Sun, 28 Jan 2024 19:37:35 +0000 Subject: [PATCH] adding github actions --- .github/workflows/build.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..a25c7f5 --- /dev/null +++ b/.github/workflows/build.yml @@ -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 \ No newline at end of file