https://github.com/aziontech/edge-computing-actions
GitHub Actions for deploying and managing edge computing tasks with Azion.
https://github.com/aziontech/edge-computing-actions
Last synced: 7 months ago
JSON representation
GitHub Actions for deploying and managing edge computing tasks with Azion.
- Host: GitHub
- URL: https://github.com/aziontech/edge-computing-actions
- Owner: aziontech
- License: mit
- Created: 2023-04-17T19:05:43.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-08T19:05:03.000Z (over 2 years ago)
- Last Synced: 2025-10-24T13:58:05.750Z (8 months ago)
- Language: JavaScript
- Homepage: https://www.azion.com
- Size: 62.5 KB
- Stars: 2
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Edge Computing Actions
This action was created to help deploy an edge application at Azion.
To use it, you need to create an account at [Azion](https://manager.azion.com/signup/) and use configuration files.
There is an example template in this repository:
- [Azion Templates](https://github.com/aziontech/azion-samples/tree/dev/templates)
## Example usage
In this example below using the template [Angular Boilerplate](https://github.com/aziontech/azion-samples/tree/dev/templates/angular-boilerplate)
```yml
- name: Azion Action Deploy
id: azion_edge
uses: aziontech/edge-computing-actions@v0
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
```bash
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
```bash
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](https://www.azion.com/en/documentation/products/edge-application/application-acceleration/)
**Optional**
### `scriptEnv`
default: `production`
Input to the RTM deployment environment
**Optional**
## Outputs
### `applicationId`
Edge Application ID
### `domainUrl`
Edge Application Domain