Skip to content

Nanos Store Action

Actions
Automatically push updates to nanos world Store
v2.0
Latest
Star (1)

nanos-store-action

Usage

name: EGUI publish to store.nanos.world

on:
  release:
    types: [published]
  workflow_dispatch:

jobs:
  build:
    runs-on: ubuntu-latest
    name: Publish package
    steps:
      - uses: actions/checkout@v2
      - name: Nanos Store Action
        uses: nanos-world/nanos-store-action@v2.0
        env:
          GITHUB_TOKEN: ${{ github.token }}
        with:
          # folder which contains the asset/package - if it's on root, leave it blank
          folder: ''
          # name of the asset/package
          name: 'name-of-the-package-or-asset'
          # API token - generate at https://store.nanos.world/settings/tokens/ and set under Settings -> Secrets -> Actions with name STORE_SECRET
          token: ${{ secrets.STORE_SECRET }}

The secret can be obtained at: https://store.nanos.world/settings/tokens/

Do not put the secret direclty into the Github Action workflow. Put the token under Settings -> Secrets -> Actions and create a new secret with the name STORE_SECRET.

Contributing

https://docs.github.com/en/actions/creating-actions/creating-a-javascript-action#commit-tag-and-push-your-action-to-github

npm i -g @vercel/ncc
ncc build index.js --license licenses.txt

Nanos Store Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Automatically push updates to nanos world Store
v2.0
Latest

Nanos Store Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.