diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..f89260ae --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +name: Build and Deploy +on: + push: + branches: + - main +permissions: + contents: write +jobs: + build-and-deploy: + concurrency: ci-${{ github.ref }} + runs-on: ubuntu-latest + steps: + - name: Checkout 🛎️ + uses: actions/checkout@v3 + + - name: Install and Build + run: | + yarn + yarn build + + - name: Deploy 🚀 + uses: JamesIves/github-pages-deploy-action@v4 + with: + folder: build # The folder the action should deploy. diff --git a/package.json b/package.json index 23779828..fe59765d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "remote", - "version": "2.5.1", + "version": "2.5.2", "scripts": { "dev": "vite dev", "dev-https": "vite dev --mode https", diff --git a/src/lib/constants.ts b/src/lib/constants.ts index fba9d249..7cb08be6 100644 --- a/src/lib/constants.ts +++ b/src/lib/constants.ts @@ -14,7 +14,6 @@ export const MODE = import.meta.env.MODE export const API_HOST = 'api.clams.tech' export const API_URL = `https://${API_HOST}` -export const WS_PROXY = `wss://${API_HOST}/ws-proxy` export const ALBY_WS_PROXY = 'wss://lnproxy.getalby.com' export const SEC_IN_MS = 1000 diff --git a/src/lib/wallets/configurations/coreln/AdvancedConnection.svelte b/src/lib/wallets/configurations/coreln/AdvancedConnection.svelte index fa67f26f..fd80b102 100644 --- a/src/lib/wallets/configurations/coreln/AdvancedConnection.svelte +++ b/src/lib/wallets/configurations/coreln/AdvancedConnection.svelte @@ -1,6 +1,6 @@