diff --git a/.gitea/workflows/build-and-copy.yaml b/.gitea/workflows/build-and-copy.yaml new file mode 100644 index 0000000..27e7712 --- /dev/null +++ b/.gitea/workflows/build-and-copy.yaml @@ -0,0 +1,15 @@ +name: Build and copy to prod +on: + push: +jobs: + build-and-copy: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Go + uses: actions/setup-go@v5 + with: + go-version: 1.22 + - name: Build binary + run: go build -o dist/oopsie \ No newline at end of file diff --git a/.gitignore b/.gitignore index adf8f72..69c4728 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ # Go workspace file go.work +dist \ No newline at end of file