This action allows you to deploy artifacts to Akamai NetStorage.
Akamai NetStorage is a holistic solution for maintaining large collections of on-demand digital content–including electronic images, streaming media files, software, documents, and other digital objects–while also offering performance compatible with today’s online delivery needs and customers’ expectations of instant access.
All sensitive variables should be set as encrypted secrets in the action's configuration.
You need to declare a AKAMAI_PRIVATEKEY
secret in your repository containing the following structure :
-----BEGIN RSA PRIVATE KEY-----
xxxx
-----END RSA PRIVATE KEY-----
To setup a key and attach it to your netstorage account, follow this Netstorage Overview.
NOTE: OPENSSH format (key begins with -----BEGIN OPENSSH PRIVATE KEY-----
) may not work.
Please use PEM format (begins with -----BEGIN RSA PRIVATE KEY-----
) instead.
Use the following to convert your key inline to PEM format ssh-keygen -p -m PEM -f ~/.ssh/id_rsa
.
Required uploadDirectory: '1234' Upload Directory in AkamaiNetStorage
Required path: 'dir' artifacts path
Required domainName: 'example1' Upload domain name in Akamai Netstorage
Required nspath: 'static' Upload path in Akamai Netstorage
Place in a .yml
file such as this one in your .github/workflows
folder. Refer to the documentation on workflow YAML syntax here.
steps:
- uses: actions/checkout@v1
- name: Build and Deploy
uses: jdmevo123/[email protected]
env:
AKAMAI_PRIVATEKEY: ${{ secrets.AKAMAI_PRIVATEKEY }}
with:
uploadDirectory: '12345'
path: 'dir'
domainName: 'example1'
nspath: 'static'
Upload directory and domain name can be found in netstorage. Please follow this guide.
This project is distributed under the MIT license.