https://github.com/junobuild/juno-action
GitHub Action for interacting with Juno
https://github.com/junobuild/juno-action
github github-actions juno
Last synced: about 1 month ago
JSON representation
GitHub Action for interacting with Juno
- Host: GitHub
- URL: https://github.com/junobuild/juno-action
- Owner: junobuild
- License: mit
- Created: 2023-05-05T13:11:05.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-19T14:11:19.000Z (about 2 months ago)
- Last Synced: 2025-04-23T04:49:54.792Z (about 2 months ago)
- Topics: github, github-actions, juno
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/junobuild/action
- Size: 31.3 KB
- Stars: 9
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Juno Action
This GitHub Action for [Juno] enables arbitrary actions with the [command-line client]((https://github.com/junobuild/cli)).
## Environment variables
- `JUNO_TOKEN`: The token to use for authentication. It can be generated through Juno's [console](https://console.juno.build). Prefer a controller with "Read-write" permission rather than administrator.
- `PROJECT_PATH` - **Optional**. The path to the folder containing `juno.config.ts|js|json` if it doesn't exist at the root of your repository. e.g. `./my-app`.
## Example
To deploy a release of your dapp to Juno with a GitHub Action:
```yaml
name: Deploy to Junoon:
release:
types: [released]jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4- uses: actions/setup-node@v4
with:
node-version: "20"- name: Install Dependencies
run: npm ci- name: Build
run: npm run build- name: Deploy to Juno
uses: junobuild/juno-action@main
with:
args: deploy
env:
JUNO_TOKEN: ${{ secrets.JUNO_TOKEN }}
```## License
MIT © [David Dal Busco](mailto:[email protected])
## Credits
This project is a fork of [w9jds/firebase-action ](https://github.com/w9jds/firebase-action)
[juno]: https://juno.build