Skip to content

nanos-world/nanos-store-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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