Skip to content
upload-cloud

GitHub Action

Initialise QuantCDN Cloud integration

v1.0.0 Latest version

Initialise QuantCDN Cloud integration

upload-cloud

Initialise QuantCDN Cloud integration

An action to initialise your build and deploy pipelines to QuantCDN

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Initialise QuantCDN Cloud integration

uses: quantcdn/[email protected]

Learn more about this action in quantcdn/cloud-init-action

Choose a version

QuantCDN Cloud initilisation

Prepare the Action workflow environment ready to interact with Quant Cloud.

Getting Started

To get started using the action make sure you have the standard workflow structure set up (.github/workflows) create a workflow file iwth the following:

name: Initialise Quant Cloud
on:
  push:
    branches:
      - main
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: quantcdn/[email protected]
        env:
          SECTION_K8S_API_URL: "${{ secrets.SECTION_K8S_API_URL }}"
          SECTION_API_TOKEN: "${{ secrets.SECTION_API_TOKEN }}"

Replace the placeholders with values for your project, these can be found in the Quant dashboard.

Adding secrets

Navigate to your repositories Settings page and find Secrets. Once there click on new secret, enter SECTION_API_TOKEN as the secret name and paste your provided Quant API token.

You can learn more about secrets and actions.