Skip to content

FromDoppler/sites-hellobar

Repository files navigation

Sites HelloBar

What is this about?

It is for the "hello bar" or "sticky bar" you use on all fromdoppler sites.

alt text

Usage

  1. After cloning the repository, we must run the "yarn" command in the console to install the necessary dependencies.
  2. Once the previous step has been executed, you are ready to execute the "yarn run dev" command to run the code locally and see the hello bar.

Branch usage for continuous deployment

  1. When merging to the main branch, https://cdn.fromdoppler.com/doppler-sites-hellobar/asset-manifest-main.json is generated.
  2. When a PR is done or commits are pushed, https://cdn.fromdoppler.com/doppler-sites-hellobar/asset-manifest-pr-{PRNUMBER}.json is generated.
  3. When you push to the INT branch, https://cdn.fromdoppler.com/doppler-sites-hellobar/asset-manifest-INT.json is generated.
  4. When a tag with version format is pushed, for example v1.2.3, several equal manifests are generated:
    1. https://cdn.fromdoppler.com/doppler-sites-hellobar/asset-manifest-v1.json
    2. https://cdn.fromdoppler.com/doppler-sites-hellobar/asset-manifest-v1.2.json
    3. https://cdn.fromdoppler.com/doppler-sites-hellobar/asset-manifest-v1.2.3.json