fuels-ts icon indicating copy to clipboard operation
fuels-ts copied to clipboard

Deploy the create fuels template app to Vercel

Open Dhaiwat10 opened this issue 1 year ago • 3 comments

Also add a CI check for the deployment to make sure that the build for the template never breaks unknowingly.

Dhaiwat10 avatar May 08 '24 11:05 Dhaiwat10

As we spoke, this should be a CI thing that automatically re-deploys the template on new releases.

arboleya avatar Jul 09 '24 11:07 arboleya

Somewhat related to:

  • #2455

petertonysmith94 avatar Jul 10 '24 08:07 petertonysmith94

Discussed requirements:

  • Preview deployments for every PR
  • A 'main' deployment to a set URL (eg. counter-dapp.fuel.network) on every release
  • The deployments should use the testnet environment of the create fuels template app
  • If the source of the counter contract has been changed, we should re-deploy the contract to the testnet and point the UI deployment to use that new ID

Dhaiwat10 avatar Jul 11 '24 13:07 Dhaiwat10

@Dhaiwat10 what's the blocker for this at the moment? Also feel free to unassign if you aren't actively working on it.

danielbate avatar Aug 15 '24 10:08 danielbate

I'll take this one and will coordinate with @luizstacio

danielbate avatar Aug 21 '24 08:08 danielbate

@arboleya where are we with Vercel permissions / being able to add people to the team in Vercel?

danielbate avatar Aug 22 '24 08:08 danielbate

@arboleya has enlightened me that I am actually in fact on the Vercel team... 🤦 Marking as unblocked whilst I investigate.

danielbate avatar Aug 22 '24 10:08 danielbate

I have disabled to the build step for the two new projects in Vercel:

  • https://vercel.com/fuel-labs/create-fuels-counter-example/settings/git
  • https://vercel.com/fuel-labs/create-fuels-template-preview/settings/git

This can be re-enabled by setting the Ignored Build Step to Automatic:

image

petertonysmith94 avatar Aug 27 '24 08:08 petertonysmith94