A collection of GitHub Actions for deploying and managing applications on the Akash Network.
| Action | Description |
|---|---|
| deploy | Deploy applications to Akash Network |
| close-deployment | Close existing Akash deployments based on filter |
- 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'- 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 }}Check the full workflow example in .github/workflows/example.yml
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"- Deploy Action - Full documentation for the deploy action
- Close Deployment Action - Full documentation for closing deployments
- Akash SDL Documentation - Learn about SDL syntax
- An Akash wallet with sufficient AKT for deployment deposits and transaction fees
- GitHub repository with secrets configured
Contributions are welcome! Please read our contributing guidelines and submit pull requests.
Apache-2.0