Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
upload

GitHub Action

Solana buffer deploy

v0.1.0

Solana buffer deploy

upload

Solana buffer deploy

Github action to deploy a program buffer on Solana

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Solana buffer deploy

uses: solana-nft-programs/solana-buffer-deploy-action@v0.1.0

Learn more about this action in solana-nft-programs/solana-buffer-deploy-action

Choose a version

Solana Buffer Deploy Github Action

javscript-action status

Use this github action to automate Solana program deployments straight from Github. Use in conjunction with https://github.com/cardinal-labs/squads-program-upgrade.

Usage

You can now consume the action by referencing the v1 branch

uses: actions/solana-buffer-deploy@v0.1.0
with:
  network: https://api.devnet.solana.com
  program: my_program
  keypair: ${{ env.DEPLOYER_KEYPAIR }}
  program-id: prgCo6HJ2bP8xPJ3zwVnfVbqhBbBgY8t7moykr7wzCx
  buffer-authority: 7CLWzQ3pGwk9TCBnNFVq2p79NGQ8WyhSrrjfXiPN4L9m

Package for distribution

GitHub Actions will run the entry point from the action.yml.

Packaging assembles the code into one file in the dist folder that can be checked in to Git, enabling fast and reliable execution and preventing the need to check in node_modules.

Run prepare

yarn prepare

Since the packaged index.js is run from the dist folder.

git add dist

See the actions tab for runs of this action! 🚀