diff --git a/.github/workflows/publish-web.yml b/.github/workflows/publish-web.yml index eb20161ad..df0c55b8f 100644 --- a/.github/workflows/publish-web.yml +++ b/.github/workflows/publish-web.yml @@ -3,8 +3,8 @@ name: CD-Web on: push: branches: - - 'master' - - 'v0.3.0' + - "master" + - "v0.3.0" jobs: release: @@ -29,6 +29,7 @@ jobs: - name: Publish run: npm run publish env: + WATCHIT_PUBLIC_KEY: ${{ secrets.WATCHIT_PUBLIC_KEY }} IPFS_DEPLOY_CLOUDFLARE__API_TOKEN: ${{ secrets.IPFS_DEPLOY_CLOUDFLARE__API_TOKEN }} IPFS_DEPLOY_CLOUDFLARE__ZONE: ${{ secrets.IPFS_DEPLOY_CLOUDFLARE__ZONE }} IPFS_DEPLOY_CLOUDFLARE__RECORD: ${{ secrets.IPFS_DEPLOY_CLOUDFLARE__RECORD }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 695fe45aa..998447f46 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -3,8 +3,8 @@ name: CD-App on: push: branches: - - 'master' - - 'v0.3.0' + - "master" + - "v0.3.0" jobs: release: @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ macos-latest, windows-latest, ubuntu-latest ] + os: [macos-latest, windows-latest, ubuntu-latest] steps: - name: Check out Git repository @@ -31,5 +31,5 @@ jobs: github_token: ${{ secrets.GH_TOKEN }} release: true env: + WATCHIT_PUBLIC_KEY: ${{ secrets.WATCHIT_PUBLIC_KEY }} CI: "" - diff --git a/package.json b/package.json index afe14c329..84b282579 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "watchit", "author": "ZorrillosDev", - "version": "0.3.6-alpha.2", + "version": "0.3.6-alpha.3", "private": true, "main": "./src/main/index.js", "description": "Open movies everywhere", diff --git a/src/main/core/ipfs/node/index.js b/src/main/core/ipfs/node/index.js index 3591cf4c0..1f742ff18 100644 --- a/src/main/core/ipfs/node/index.js +++ b/src/main/core/ipfs/node/index.js @@ -42,7 +42,7 @@ const initIpfsNode = async (isInstance) => { const ipfsFactory = async (conf = {}) => { // Link to current local node - if ('node' in conf) { + if (conf.node) { log.info('Using provided node on port:', conf.node) return IPFSClient.create({ host: DEFAULT_LOOPBACK, diff --git a/src/render/core/settings.js b/src/render/core/settings.js index 443075840..35647d492 100755 --- a/src/render/core/settings.js +++ b/src/render/core/settings.js @@ -11,7 +11,7 @@ export default { // 'https://watchit.mypinata.cloud', 'https://ipfs.filebase.io', 'https://gateway.ipfs.io', - 'https://ipfs.io', + // 'https://ipfs.io', ...process.env.RUNTIME !== 'web' ? ['http://localhost:8080'] : []