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:
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 }}"
Edge Application Name
Optional
Note: if not provided, the name of the repo will be used.
Personal token created in RTM Azion.
Required
default: args.json
function file path of your arguments. Indicated to be generated in your build.
Note: no commit this file.
Optional
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
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
If mode compute (default: ./main.js)
Optional
Enable module acceleration Application Acceleration
Optional
default: production
Input to the RTM deployment environment
Optional
Edge Application ID
Edge Application Domain