Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/http-interface-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ jobs:
name: http-interface-cd
if: |
github.event.pull_request.merged &&
startsWith(github.event.pull_request.title, '[CD]') != true &&
github.event.pull_request.user.login != 'github-actions'
endsWith(github.event.pull_request.title, '/workflows/publish')
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
Expand Down Expand Up @@ -42,6 +41,8 @@ jobs:
- name: Deploy
run: yarn deploy
working-directory: ./interface
env:
POLYWRAP_WRAPSCAN_AUTH_HEADER_PROD: ${{secrets.POLYWRAP_WRAPSCAN_AUTH_HEADER_PROD}}

- name: PR New URI
uses: peter-evans/create-pull-request@v3
Expand Down
2 changes: 1 addition & 1 deletion interface/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"deploy": "npx polywrap deploy -o deployment.json"
},
"devDependencies": {
"polywrap": "0.10.2"
"polywrap": "0.11.0-pre.4"
},
"publishConfig": {
"access": "public"
Expand Down
10 changes: 9 additions & 1 deletion interface/polywrap.deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
format: 0.3.0
format: 0.4.0
primaryJobName: ipfs_deploy
jobs:
ipfs_deploy:
Expand All @@ -8,3 +8,11 @@ jobs:
uri: fs/./build
config:
gatewayUri: https://ipfs.wrappers.io
- name: http_deploy
package: http
uri: $$ipfs_deploy
config:
postUrl: https://wraps.wrapscan.io/r/polywrap/http@1.0.0
headers:
- name: Authorization
value: $POLYWRAP_WRAPSCAN_AUTH_HEADER_PROD
4 changes: 2 additions & 2 deletions interface/polywrap.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
format: 0.3.0
format: 0.5.0
project:
name: http-interface
name: http
type: interface
source:
schema: ./polywrap.graphql
Expand Down
Loading