This is an action to publish templates to Nosto.
In order to use this action a Nosto token is needed for authentication
Get the settings token from Nosto dashboard.
Store the token in GitHub by following these steps:
-
Navigate to
Settings
>Secrets
and clickAdd a new secret
. -
Paste in your token and click on
Add secret
Create a new yml
file under .github/workspaces
Add the following lines
name: Publish templates to Nosto
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: nosto/action-experiences@master
with:
nosto-token: ${{ secrets.YOUR_TOKEN_NAME }}
template-directory: TEMPLATE_PATH
Two inputs are required by the action
nosto-token
which is the token you just savedtemplate-directory
which is the path to the templates directory
An example of the workflow can be found in: