From 9473d7d1d4759a151008e5a652b6becd2ce0f5d1 Mon Sep 17 00:00:00 2001 From: Piotr Galar Date: Wed, 16 Nov 2022 00:28:56 +0100 Subject: [PATCH] chore: revert #2032 (#2064) This reverts commit 90b5f3aab9944965e1bf75e8c560773076ba45f5, see rationale in https://github.com/ipfs/ipfs-webui/pull/2032#issuecomment-1278928440 --- .github/workflows/ci.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9079490de..884b7a233 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,10 +1,6 @@ name: ci on: workflow_dispatch: - inputs: - kubo-version: - description: Kubo version to use during the run - required: false push: branches: - main @@ -65,7 +61,6 @@ jobs: - uses: ipfs/download-ipfs-distribution-action@v1 with: name: kubo - version: ${{ github.event.inputs.kubo-version }} - uses: ipfs/download-ipfs-distribution-action@v1 with: name: ipfs-cluster-ctl @@ -141,13 +136,13 @@ jobs: # dev dnslink is updated on each main branch update - run: npx dnslink-dnsimple --domain dev.webui.ipfs.io --link /ipfs/${{ steps.ipfs.outputs.cid }} - if: github.ref == 'refs/heads/main' && !github.event.inputs.kubo-version + if: github.ref == 'refs/heads/main' env: DNSIMPLE_TOKEN: ${{ secrets.DNSIMPLE_TOKEN }} # production dnslink is updated on release (during tag build) - run: npx dnslink-dnsimple --domain webui.ipfs.io --link /ipfs/${{ steps.ipfs.outputs.cid }} - if: github.ref == 'refs/heads/main' && github.event_name == 'workflow_dispatch' && !github.event.inputs.kubo-version + if: github.ref == 'refs/heads/main' && github.event_name == 'workflow_dispatch' env: DNSIMPLE_TOKEN: ${{ secrets.DNSIMPLE_TOKEN }} @@ -226,7 +221,7 @@ jobs: name: ipfs-webui_${{ github.sha }}.car - name: Dry-run semantic release - if: github.ref != 'refs/heads/main' && !github.event.inputs.kubo-version + if: github.ref != 'refs/heads/main' run: | git config user.name "ipfs-gui-bot" git config user.email "108953096+ipfs-gui-bot@users.noreply.github.com" @@ -236,7 +231,7 @@ jobs: # Update the version (npm version [major|minor|patch]) - name: Run semantic release - if: github.ref == 'refs/heads/main' && github.event_name == 'workflow_dispatch' && !github.event.inputs.kubo-version + if: github.ref == 'refs/heads/main' && github.event_name == 'workflow_dispatch' run: | git config user.name "ipfs-gui-bot" git config user.email "108953096+ipfs-gui-bot@users.noreply.github.com"