From b354e78bfa8989d9798736af44a73a90c1242708 Mon Sep 17 00:00:00 2001 From: tijl Date: Mon, 19 Aug 2024 22:37:57 +0200 Subject: [PATCH] change some git things --- .gitea/workflows/build.yaml | 32 ++++++++++++++++++++++++++++++++ static/css/.gitkeep | 0 static/js/.gitkeep | 0 3 files changed, 32 insertions(+) create mode 100644 .gitea/workflows/build.yaml create mode 100644 static/css/.gitkeep create mode 100644 static/js/.gitkeep diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..748d69c --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -0,0 +1,32 @@ +name: build + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + github-server-url: 'https://git.tijl.dev' + + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: '1.22' + + - name: Build css + run: npm run build:css + + - name: Build js + run: npm run build + + - name: Build + run: go build -v ./... + + diff --git a/static/css/.gitkeep b/static/css/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/static/js/.gitkeep b/static/js/.gitkeep new file mode 100644 index 0000000..e69de29