From c0da1af5f9d1b18ec60843c99278239767028fb9 Mon Sep 17 00:00:00 2001 From: James Lyne Date: Sun, 18 Jul 2021 17:31:14 +0100 Subject: [PATCH 1/2] Create main.yml --- .github/workflows/main.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..e504893 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,33 @@ +name: Build + +on: + # Triggers the workflow on push or pull request events but only for the master branch + push: + branches: [ master ] + pull_request: + branches: [ master ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - run: echo VITE_VERSION=git-${GITHUB_SHA::6} > .env + - run: cat .env + - uses: actions/setup-node@v2 + with: + node-version: '16' + - run: npm install + - run: npm run build + - run: find dist/live-atlas/assets -type f -iname \*.svg -delete + - run: cp LICENSE.md dist + - name: Upload a Build Artifact + uses: actions/upload-artifact@v2.2.4 + with: + name: 'live-atlas' + path: 'dist/' + if-no-files-found: error From b0404c1d0811d04f987ecfbafe1d98ab33d26d41 Mon Sep 17 00:00:00 2001 From: James Lyne Date: Sun, 18 Jul 2021 18:21:50 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 6ccf3c2..592907f 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,11 @@ You can see it in action [here](https://minecraft.rtgame.co.uk/map/build) - Opera 53+ - Safari 11.1+ +## Download +LiveAtlas is available on [SpigotMC](https://www.spigotmc.org/resources/liveatlas-a-dynmap-frontend-for-the-modern-web.86939/) + +Dev builds are available in [Github actions](https://github.com/JLyne/LiveAtlas/actions/workflows/main.yml) + ## Installation Using an [external webserver](https://github.com/webbukkit/dynmap/wiki/External-Webserver-Basics) is recommended.