All Projects → tibotiber → hasura-action

tibotiber / hasura-action

Licence: other
GitHub Action wrapping the Hasura CLI

Programming Languages

shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to hasura-action

cake-build
Demonstrates a basic build of a .NET NuGet package using https://cakebuild.net/
Stars: ✭ 22 (-43.59%)
Mutual labels:  continuous-integration, github-actions
Cml
♾️ CML - Continuous Machine Learning | CI/CD for ML
Stars: ✭ 2,843 (+7189.74%)
Mutual labels:  continuous-integration, github-actions
Android-CICD
This repo demonstrates how to work on CI/CD for Mobile Apps 📱 using Github Actions 💊 + Firebase Distribution 🎉
Stars: ✭ 37 (-5.13%)
Mutual labels:  continuous-integration, github-actions
qodana-action
⚙️ Scan your Java, Kotlin, PHP, Python, JavaScript, TypeScript projects at GitHub with Qodana
Stars: ✭ 112 (+187.18%)
Mutual labels:  continuous-integration, github-actions
travis-ci-latex-pdf
Overview of different methods to build LaTeX with GitHub Actions or Travis-CI (idea by @jackolney but completely rewritten by @PHPirates and contributors).
Stars: ✭ 113 (+189.74%)
Mutual labels:  continuous-integration, github-actions
demo-ci
Aula prática sobre servidores de Integração Contínua
Stars: ✭ 15 (-61.54%)
Mutual labels:  continuous-integration, github-actions
cross-platform-python-gui
A fork-ready base for your new GUI application. Uses CI to automatically build executables for Linux (AppImage), Windows (exe), and MacOS (dmg)
Stars: ✭ 53 (+35.9%)
Mutual labels:  continuous-integration, github-actions
arduino-lint-action
GitHub Actions action to check Arduino projects for problems
Stars: ✭ 20 (-48.72%)
Mutual labels:  continuous-integration, github-actions
compile-sketches
GitHub Actions action that checks whether Arduino sketches compile and produces a report of data from the compilations
Stars: ✭ 35 (-10.26%)
Mutual labels:  continuous-integration, github-actions
py-dependency-install
A GitHub Action that installs Python package dependencies from a user-defined requirements.txt file path with optional pip, setuptools, and wheel installs/updates
Stars: ✭ 23 (-41.03%)
Mutual labels:  continuous-integration, github-actions
drupal9ci
One-line installers for implementing Continuous Integration in Drupal 9
Stars: ✭ 137 (+251.28%)
Mutual labels:  continuous-integration, github-actions
changed-files
Github action to retrieve all (added, copied, modified, deleted, renamed, type changed, unmerged, unknown) files and directories.
Stars: ✭ 733 (+1779.49%)
Mutual labels:  continuous-integration, github-actions
overview
Automate your workflows with GitHub actions for MATLAB.
Stars: ✭ 40 (+2.56%)
Mutual labels:  continuous-integration, github-actions
github-act-runner
act as self-hosted runner
Stars: ✭ 68 (+74.36%)
Mutual labels:  continuous-integration, github-actions
lychee-action
Github action to check for broken links in Markdown, HTML, and text files using lychee, a fast link checker written in Rust.
Stars: ✭ 89 (+128.21%)
Mutual labels:  continuous-integration, github-actions
django-security-check
Helps you continuously monitor and fix common security vulnerabilities in your Django application.
Stars: ✭ 69 (+76.92%)
Mutual labels:  continuous-integration, github-actions
github-create-release-action
Github Action that create Github Release automatically
Stars: ✭ 28 (-28.21%)
Mutual labels:  continuous-integration, github-actions
setup-scheme
Github Actions CI / CD setup for Scheme
Stars: ✭ 13 (-66.67%)
Mutual labels:  continuous-integration, github-actions
Setup Php
GitHub action to set up PHP with extensions, php.ini configuration, coverage drivers, and various tools.
Stars: ✭ 1,945 (+4887.18%)
Mutual labels:  continuous-integration, github-actions
actions
Set of actions for implementing CI/CD with werf and GitHub Actions
Stars: ✭ 67 (+71.79%)
Mutual labels:  continuous-integration, github-actions

GitHub Actions for Hasura

This Action for Hasura enables arbitrary actions with the hasura cli.

Inputs

  • args - Required. This is the arguments you want to use for the hasura cli.

Environment variables

  • HASURA_ENDPOINT - Required. The endpoint of the Hasura GraphQL engine.

  • HASURA_ADMIN_SECRET - Optional. The admin secret (if any) for the Hasura GraphQL engine.

  • HASURA_WORKDIR - Optional. The path from the root of your repository to the directory where the migrations folder can be found.

  • HASURA_ENGINE_VERSION - Optional. The version of the hasura cli you want to use. By default, it will match the version from your endpoint and fall back on stable if the version endpoint request fails.

Example

To apply migrations with the Hasura CLI:

name: Hasura migration
on:
  push:
    branches:
      - master
jobs:
  hasura_migration:
    name: Hasura migration
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Repo
        uses: actions/checkout@v3
      - name: Apply hasura migrations
        uses: tibotiber/hasura-action@master # use a tagged version instead of master
        with:
          args: migrate apply --all-databases
        env:
          HASURA_ENDPOINT: ${{ secrets.HASURA_ENDPOINT }}
          HASURA_ADMIN_SECRET: ${{ secrets.HASURA_ADMIN_SECRET }}
          HASURA_WORKDIR: backend/hasura # replace this by your own path if needed
          HASURA_ENGINE_VERSION: v2.6.2 # replace this by the version you need, remove to use stable

License

The Dockerfile and associated scripts and documentation in this project are released under the MIT License.

This project was forked from GitHub Action for Firebase.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].