From 1003a34328fc666090757924ebbd358113e545ec Mon Sep 17 00:00:00 2001 From: Eric Guan Date: Mon, 6 Jun 2022 20:59:46 -0700 Subject: [PATCH] ci: include webui in go binary --- .github/workflows/release.yml | 15 +++++++++++++++ .gitignore | 1 + resources/webui/index.html | 10 ---------- 3 files changed, 16 insertions(+), 10 deletions(-) delete mode 100644 resources/webui/index.html diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a5cc12e..506de87 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,6 +20,21 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 + - + name: Include web UI + uses: robinraju/release-downloader@v1.3 + with: + repository: filecoin-project/saturn-l2-webui + # Update tag to deploy new web UI. + tag: v0.0.6 + fileName: saturn-l2-webui.tar.gz + out-file-path: resources/webui + - + name: Unpack web UI archive + run: | + cd resources/webui + tar zxvf saturn-l2-webui.tar.gz + rm saturn-l2-webui.tar.gz - name: Fetch all tags run: git fetch --force --tags diff --git a/.gitignore b/.gitignore index 5800750..25dfd5a 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ # vendor/ dist/ +resources/webui diff --git a/resources/webui/index.html b/resources/webui/index.html deleted file mode 100644 index 9109575..0000000 --- a/resources/webui/index.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - -
-

Use the saturn-l2-webui development server.

-
- -