diff --git a/.github/workflows/build-test-deploy-dev.yml b/.github/workflows/build-test-deploy-dev.yml index 56da5c5503..0e3a2d5ddf 100644 --- a/.github/workflows/build-test-deploy-dev.yml +++ b/.github/workflows/build-test-deploy-dev.yml @@ -133,14 +133,14 @@ jobs: BUILD_LOCATION: './out' CID_VERSION: 1 - - name: Pin to primary IPFS server - id: ipfs-primary - uses: ./.github/actions/ipfs-pin + - name: Upload to Infura IPFS + id: infura-upload + uses: aave/ipfs-action@master with: - IPFS_SERVER_PORT: '${{ secrets.IPFS_PRIMARY_SERVER_PORT }}' - IPFS_SERVER: '${{ secrets.IPFS_PRIMARY_SERVER }}' - IPFS_SERVER_KEY: '${{ secrets.IPFS_PRIMARY_SERVER_KEY }}' - BUILD_PATH: 'out' + path: './out' + service: infura + infuraProjectId: ${{ secrets.INFURA_PROJECT_ID }} + infuraProjectSecret: ${{ secrets.INFURA_PROJECT_SECRET }} cypress_full_v2: runs-on: ubuntu-latest diff --git a/.github/workflows/test-deploy-fork.yml b/.github/workflows/test-deploy-fork.yml index 874afe2830..b7fb543a62 100644 --- a/.github/workflows/test-deploy-fork.yml +++ b/.github/workflows/test-deploy-fork.yml @@ -136,14 +136,14 @@ jobs: BUILD_LOCATION: './out' CID_VERSION: 1 - - name: Pin to primary IPFS server - id: ipfs-primary - uses: ./.github/actions/ipfs-pin + - name: Upload to Infura IPFS + id: infura-upload + uses: aave/ipfs-action@master with: - IPFS_SERVER_PORT: '${{ secrets.IPFS_PRIMARY_SERVER_PORT }}' - IPFS_SERVER: '${{ secrets.IPFS_PRIMARY_SERVER }}' - IPFS_SERVER_KEY: '${{ secrets.IPFS_PRIMARY_SERVER_KEY }}' - BUILD_PATH: 'out' + path: './out' + service: infura + infuraProjectId: ${{ secrets.INFURA_PROJECT_ID }} + infuraProjectSecret: ${{ secrets.INFURA_PROJECT_SECRET }} - name: 'Comment on PR' uses: actions/github-script@100527700e8b29ca817ac0e0dfbfc5e8ff38edda # v6.1.1 diff --git a/.github/workflows/update-prod-staging.yml b/.github/workflows/update-prod-staging.yml index a69eebe080..b31c66178d 100644 --- a/.github/workflows/update-prod-staging.yml +++ b/.github/workflows/update-prod-staging.yml @@ -27,16 +27,14 @@ jobs: name: ${{ matrix.environment.artifact }} path: ${{ matrix.environment.build_path }} - - name: Pin to primary IPFS server - id: ipfs-primary - uses: ./.github/actions/ipfs-pin + - name: Upload to Infura IPFS + id: infura-upload + uses: aave/ipfs-action@master with: - DOMAIN: ${{ matrix.environment.domain }} - IPFS_SERVER_PORT: '${{ secrets.IPFS_PRIMARY_SERVER_PORT }}' - IPFS_SERVER: '${{ secrets.IPFS_PRIMARY_SERVER }}' - IPFS_SERVER_KEY: '${{ secrets.IPFS_PRIMARY_SERVER_KEY }}' - BUILD_PATH: ${{ matrix.environment.build_path }} - PINATA_HASH: ${{ inputs.PINATA_HASH }} + path: ${{ matrix.environment.build_path }} + service: infura + infuraProjectId: ${{ secrets.INFURA_PROJECT_ID }} + infuraProjectSecret: ${{ secrets.INFURA_PROJECT_SECRET }} - name: prepare release run: |