Skip to content

Commit

Permalink
ui pipe (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrjwegrzyn authored Sep 9, 2024
1 parent 61142ee commit fc385fc
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ui_deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: "UI Cyrograf: Deployment"

on:
workflow_dispatch: {}
pull_request:
branches: [ master ]
paths: [ 'ui/**' ]
types: [ closed ]

jobs:
push_to_ipfs:
runs-on: ubuntu-latest
name: Pin and publish
steps:
- name: Checkout
uses: actions/checkout@v4
- name: IPFS Pin & Publish
id: IPFS
uses: piotrjwegrzyn/ipfs-aio-publisher@v1.2.3
with:
upload_path: 'ui/'
remote_service_name: ${{ vars.REMOTE_SERVICE_NAME }}
remote_service_endpoint: ${{ secrets.REMOTE_SERVICE_ENDPOINT }}
remote_service_key: ${{ secrets.REMOTE_SERVICE_KEY }}
remote_background: ${{ vars.REMOTE_BACKGROUND }}
remote_unpin_old_cid: ${{ vars.REMOTE_UNPIN_OLD_CID }}
publish_key_name: ${{ secrets.PUBLISH_KEY_NAME }}
publish_key_value: ${{ secrets.PUBLISH_KEY_VALUE }}
propagate_time: ${{ vars.PROPAGATE_TIME }}

0 comments on commit fc385fc

Please sign in to comment.