From 51c333c965723d4f6ff6ed2aa20f7b636387292b Mon Sep 17 00:00:00 2001 From: Logan Date: Thu, 15 Aug 2024 10:07:37 -0400 Subject: [PATCH] Hopefully work --- .github/workflows/buildRelease.yml | 33 ++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/buildRelease.yml diff --git a/.github/workflows/buildRelease.yml b/.github/workflows/buildRelease.yml new file mode 100644 index 0000000..a5ff587 --- /dev/null +++ b/.github/workflows/buildRelease.yml @@ -0,0 +1,33 @@ +name: Run Craft Commands + +on: + push: + tags: + - "v*" + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install Node.js + uses: actions/setup-node@v4 + with: + node-version: lts/* + + - name: Build Repo + run: | + npm i && npm run build + - uses: actions/upload-artifact@v4 + with: + name: kolf-build-latest-appImage + path: /dist/index.html + - name: Release + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + files: | + /dist/index.html