Genezio GitHub Action
ActionsTags
(2)This action sets up a genezio
environment for using it in actions.
To deploy your project on genezio
using GitHub Actions, you have to provide a genezio
access token.
Follow these steps to setup a genezio
access token to use GitHub Actions:
- Head to the
genezio
dashboard to generate agenezio
access token. - Store the access token as a GitHub secret in your repository. To see how to create an action secret check this tutorial.
In the examples below the secret is referred to as secrets.GENEZIO_TOKEN
. Change accordingly for your project.
An example workflow to deploy the backend of your project with the latest version of genezio
:
name: genezio workflow
on:
push:
branches:
- main
jobs:
deploy-backend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: Genez-io/genezio-github-action@v3
with:
token: ${{ secrets.GENEZIO_TOKEN }}
- name: Deploy backend
working-directory: ./
run: genezio deploy
You can test or check logs for the deployed project at https://app.genez.io.
To find more details on how to use genezio
, check out the official documentation:
If you cannot find what you are looking for in the docs, don't hesitate to drop us a GitHub issue or start a discussion on Discord.
The associated scripts and documentation in this project are released under the GNU General Public License v3.0 license.
Genezio GitHub Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.