Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #26 from filecoin-project/update-webui-to-0.0.7
Browse files Browse the repository at this point in the history
feat: upgrade webui to v0.0.7 + fix CI
  • Loading branch information
bajtos authored Jun 20, 2022
2 parents 72267b8 + 2d92679 commit fad6975
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
# Specify the execution environment. You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub.
# See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor
docker:
- image: circleci/golang:1.15.8
- image: cimg/go:1.18
# Add steps to the job
# See: https://circleci.com/docs/2.0/configuration-reference/#steps
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
with:
repository: filecoin-project/saturn-l2-webui
# Update tag to deploy new web UI.
tag: v0.0.6
tag: v0.0.7
fileName: saturn-l2-webui.tar.gz
out-file-path: resources/webui
-
Expand Down
8 changes: 7 additions & 1 deletion scripts/download-webui.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
#!/usr/bin/env bash

OUTDIR=$(dirname $0)/../resources/webui/

echo "⇣ Downloading webui dist to $OUTDIR"

mkdir -p $OUTDIR

# Downloads latest release
url=$(curl -s https://api.github.com/repos/filecoin-project/saturn-l2-webui/releases/latest | \
jq -r '.assets[] | select(.name|match("saturn-l2-webui.tar.gz$")) | .browser_download_url')

curl -L $url | tar -zx -C ../resources/webui/
curl -L $url | tar -zx -C $OUTDIR

0 comments on commit fad6975

Please sign in to comment.