Skip to content

Examples Dev team

Nick edited this page Dec 23, 2022 · 4 revisions

Development notes for developers managing the examples.

Staging:

https://tokenscript.github.io/token-negotiator-examples/

Deployment Guide:

Trigger either manually or using a CICD process the actions on 'staging'.

Steps for manual trigger:

  • Navigate to actions

  • Select from the left hand side 'Build & Deploy to gh-pages branch'

  • From the drop down, 'run workflow' select 'staging' then press the button 'run workflow'

  • Release the NPM Package once tested and confirmed for deployment.

  • Ensure to create a tag inside Github (following the convention used in previous tags)

The examples can next be deployed to 'production' gh-pages repo.

Steps for manual trigger:

  • Update all examples with the deployed NPM package and re-build
  • Navigate to the gh-pages repo and create a branch to make all updates
  • Copy the build contents of each into the public/'EXAMPLE'
  • Test, then merge back to Main
  • Deploy to GH-Pages

To deploy the Brand Connector example:

  • Apply changes into staging, ensuring all is working
  • Merge changes into main (auto triggering a deployment)
Clone this wiki locally