diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index f590e1fa..1d240eac 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -2,10 +2,8 @@ name: Docker on: push: - branches: [main] + branches: [generic_build] tags: [v*] - pull_request: - branches: [main] jobs: docker: @@ -18,7 +16,7 @@ jobs: id: meta uses: docker/metadata-action@v3 with: - images: ${{ secrets.DOCKERHUB_USERNAME }}/eth-faucet + images: gatewayfm/eth-faucet-generic:latest tags: | type=ref,event=branch type=ref,event=pr diff --git a/web/.env b/web/.env new file mode 100644 index 00000000..e7a95dc6 --- /dev/null +++ b/web/.env @@ -0,0 +1,4 @@ +# BRANDING + +VITE_LOGO_PATH=/favicon.png +VITE_BACKGROUND_PATH=/background.jpg \ No newline at end of file diff --git a/web/.env.example b/web/.env.example new file mode 100644 index 00000000..fbef5b6f --- /dev/null +++ b/web/.env.example @@ -0,0 +1,4 @@ +# BRANDING + +VITE_LOGO_PATH=/gpt-logo-white-transparent.svg +VITE_BACKGROUND_PATH=/gpt-background.jpg \ No newline at end of file diff --git a/web/public/gpt-background.jpg b/web/public/gpt-background.jpg new file mode 100644 index 00000000..188d68d1 Binary files /dev/null and b/web/public/gpt-background.jpg differ diff --git a/web/public/gpt-logo-white-transparent.svg b/web/public/gpt-logo-white-transparent.svg new file mode 100644 index 00000000..d79b2e52 --- /dev/null +++ b/web/public/gpt-logo-white-transparent.svg @@ -0,0 +1,16 @@ + + + Group + + + + + + + + + + + + + \ No newline at end of file diff --git a/web/src/Faucet.svelte b/web/src/Faucet.svelte index b3a22a03..8933c230 100644 --- a/web/src/Faucet.svelte +++ b/web/src/Faucet.svelte @@ -16,6 +16,9 @@ let mounted = false; let hcaptchaLoaded = false; + const logoPath = import.meta.env.VITE_LOGO_PATH + const backgroundPath = import.meta.env.VITE_BACKGROUND_PATH + onMount(async () => { const res = await fetch('/api/info'); faucetInfo = await res.json(); @@ -118,14 +121,14 @@
-
+