Skip to content

This action was created to help deploy an edge application at Azion.

License

Notifications You must be signed in to change notification settings

jcbsfilho/edge-computing-deploy

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Edge Computing Deploy Action

This action was created to help deploy an edge application at Azion. To use it, you need to create an account at Azion and use configuration files.

There is an example template in this repository:

Example usage

In this example below using the template Angular Boilerplate

- name: edge-computing-deploy
  id: azion_edge
  uses: jcbsfilho/edge-computing-deploy@v6
  with:
    azionPersonalToken: ${{ secrets.AZION_PERSONAL_TOKEN }}
    functionArgsFilePath: "args.json"
    buildPreset: "angular"
    buildMode: "deliver"

- name: Get the output Azion Edge Deploy
  run: |
    echo "Application ID-= ${{ steps.azion_edge.outputs.applicationId }}"
    echo "Domain-= ${{ steps.azion_edge.outputs.domainUrl }}"

Inputs

applicationName

Edge Application Name

Optional

Note: if not provided, the name of the repo will be used.

azionPersonalToken

Personal token created in RTM Azion.

Required

functionArgsFilePath

default: args.json

function file path of your arguments. Indicated to be generated in your build.

Note: no commit this file.

Optional

buildPreset

Build preset by Vulcan ex: angular

  PRESET      MODE     
  Html        Deliver  
  Javascript  Compute  
  Typescript  Compute  
  Angular     Deliver  
  Astro       Deliver  
  Hexo        Deliver  
  Next        Deliver  
  React       Deliver  
  Vue         Deliver 

Required

buildMode

Build mode by Vulcan e.g: deliver

  PRESET      MODE     
  Html        Deliver  
  Javascript  Compute  
  Typescript  Compute  
  Angular     Deliver  
  Astro       Deliver  
  Hexo        Deliver  
  Next        Deliver  
  React       Deliver  
  Vue         Deliver 

Required

buildEntry

If mode compute (default: ./main.js)

Optional

edgeModuleAcceleration

Enable module acceleration Application Acceleration

Optional

scriptEnv

default: production

Input to the RTM deployment environment

Optional

Outputs

applicationId

Edge Application ID

domainUrl

Edge Application Domain

About

This action was created to help deploy an edge application at Azion.

Resources

License

Stars

Watchers

Forks

Packages

No packages published