mirror of
				https://github.com/TeamPiped/Piped.git
				synced 2025-10-31 04:32:01 +00:00 
			
		
		
		
	Update ipfs action to use infura.
This commit is contained in:
		
							
								
								
									
										9
									
								
								.github/workflows/ipfs-build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								.github/workflows/ipfs-build.yml
									
									
									
									
										vendored
									
									
								
							| @@ -18,14 +18,13 @@ jobs: | ||||
|           cache: "yarn" | ||||
|       - run: yarn install --prefer-offline | ||||
|       - run: yarn build && sed -i 's/fonts.gstatic.com/fonts.kavin.rocks/g' dist/assets/*.css && cp dist/index.html dist/ipfs-404.html | ||||
|       - uses: aquiladev/ipfs-action@v0.2.1 | ||||
|       - uses: aquiladev/ipfs-action@v0.3.0-alpha.1 | ||||
|         id: ipfs-add | ||||
|         with: | ||||
|           path: ./dist | ||||
|           service: pinata | ||||
|           pinataKey: ${{ secrets.PINATA_API_KEY }} | ||||
|           pinataSecret: ${{ secrets.PINATA_API_SECRET }} | ||||
|           pinataPinName: piped | ||||
|           service: infura | ||||
|           infuraProjectId: ${{ secrets.INFURA_PROJECT_ID }} | ||||
|           infuraProjectSecret: ${{ secrets.INFURA_PROJECT_SECRET }} | ||||
|       - name: Update DNSLink | ||||
|         run: npx dnslink-cloudflare -d kavin.rocks -l /ipfs/${{ steps.ipfs-add.outputs.hash }} -r _dnslink.piped-ipfs | ||||
|         env: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Kavin
					Kavin