From fc385fc28445d0f0baa16bc96c243354bf676183 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20J=2E=20W=C4=99grzyn?= <40713288+piotrjwegrzyn@users.noreply.github.com> Date: Mon, 9 Sep 2024 08:36:09 +0200 Subject: [PATCH] ui pipe (#39) --- .github/workflows/ui_deploy.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/ui_deploy.yml diff --git a/.github/workflows/ui_deploy.yml b/.github/workflows/ui_deploy.yml new file mode 100644 index 0000000..7558c08 --- /dev/null +++ b/.github/workflows/ui_deploy.yml @@ -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 }} \ No newline at end of file