Skip to content

akash-network/gh-actions

Repository files navigation

Akash Network GitHub Actions

A collection of GitHub Actions for deploying and managing applications on the Akash Network.

Available Actions

Action Description
deploy Deploy applications to Akash Network
close-deployment Close existing Akash deployments based on filter

Quick Start

Deploy an Application

- name: Deploy to Akash
  id: deploy
  uses: akash-network/akash-gha/packages/deploy@deploy/v0.4.0
  with:
    mnemonic: ${{ secrets.AKASH_MNEMONIC }}
    sdl: ./deploy.yaml
    # Optional: filter bids and pick strategy
    # bid-filter: '{ "price.amount": { "$lte": "2000" } }'
    # pick-bid-strategy: 'cheapest'  # or 'first'

Close a Deployment

- name: Close Akash Deployment
  uses: akash-network/akash-gha/packages/close-deployment@close-deployment/v0.2.1
  with:
    mnemonic: ${{ secrets.AKASH_MNEMONIC }}
    filter: |
      dseq: ${{ steps.deploy.outputs.dseq }}

Full Workflow Example

Check the full workflow example in .github/workflows/example.yml

Security

Important: Always store your wallet mnemonic as a GitHub secret. Never commit mnemonics or private keys to your repository.

# Correct - using GitHub secrets
mnemonic: ${{ secrets.AKASH_MNEMONIC }}

# NEVER do this
mnemonic: "your mnemonic words here"

Documentation

Requirements

  • An Akash wallet with sufficient AKT for deployment deposits and transaction fees
  • GitHub repository with secrets configured

Contributing

Contributions are welcome! Please read our contributing guidelines and submit pull requests.

License

Apache-2.0

About

Github actions to deploy to akash network

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

 
 
 

Contributors 2

  •  
  •