Setting up the build on CloudFlare Workers / DONE

Instructions for setting up a build on CloudFlare Workers

Видео инструкция
  1. Gain access to the /exchanger-admin-web and /exchanger-client-web repositories. Instructions for gaining access: Access to source code / DONE

  2. Go to your domain settings on CloudFlare - "Overview" section - copy the value ".

  3. On the licence page, click ‘Add variable CI/CD’ - in the window that opens, in the ‘Key Variable’ field, insert:

    CLOUDFLARE_ACCOUNT_ID

    In the ‘Value “ field - the ”Account ID’ value that you copied earlier - click ‘Save’ - ‘Yes’

  4. Go back to the CloudFlare page - ‘Overview’ section - click ‘Get your API token’. In the new tab under ‘API Tokens’, click ‘Create token’. Next, in the box with ‘Edit CloudFlare Workers’ click ‘Use template’. On the next page, under ‘Account Resources’ select your email - under ‘Zone Resources’ select your domain - click ‘Continue to summary’ - then ‘Create token’. On the final page, copy the .

  5. Go to the licence page again - click on ‘Add veriable CI/CD’ - in the window that opens, in the ‘Key Variable’ field, insert:

    CLOUDFLARE_API_TOKEN

    In the ‘Value “ field - the ”API Token’ value that you copied earlier - click - "Yes"

  6. Click ‘Add veriable CI/CD’ again - in the window that opens, in the ‘Key Variable’ field, insert it:

    DEPLOY_BRANCH_WEB

    In the ‘Value “ field - the value ”Name of the branch you want to build client-web’ that you copied earlier - click - "Yes"

  7. Again for the admin panel click ‘Add veriable CI/CD’ - in the opened window in the field ‘Key Variable’ insert it:

    DEPLOY_BRANCH_ADMIN

    In the ‘Value “ field - the value ”Name of the branch to be collected by the admin panel project’, which you copied earlier - click - "Yes"

  8. Now you can run Pipelines for the repository from the created branch. Click "" next to the desired repository, select the branch from which the project should be built, and click 'Yes'."

By going to the /exchanger-admin-web or /exchanger-client-web repository in git.boxexchanger.net - Build - Pipelines section you can find Pipelines .

Last updated