Code Monkey home page Code Monkey logo

airplane-deploy's Introduction

Airplane deploy

A GitHub Action that deploys all Airplane tasks in a repo โœˆ๏ธ

Usage

Create a file named .github/workflows/airplane.yml with the following content and then push it to the main branch. Every subsequent push to main will deploy all Airplane tasks nested under task-directory. Tasks that are not changed will not be deployed.

name: airplane
on:
  push:
    branches:
      # Or "master"
      - main
jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: airplanedev/airplane-deploy@v1
        with:
          # Generate a new API key from the CLI by running `airplane apikeys create <key name>`.
          # Add your API key as a secret: https://docs.github.com/en/actions/security-guides/encrypted-secrets
          api-key: ${{ secrets.AIRPLANE_API_KEY }}
          # Find this at https://app.airplane.dev/settings/team
          team-id: <your_team_id>

Inputs

Name Requirement Default Description
api-key required An airplane API key. Generate by running airplane apikeys create <key name> from the Airplane CLI
team-id required Your airplane team ID. Find this in your team settings
env optional The environment you want to deploy the tasks into. Defaults to your default environment.
extra-args optional Extra arguments to pass to the Airplane deploy CLI. For advanced use cases only.
local optional "false" If "true", executes builds in the CI runner instead of in Airplane's infrastructure.
skip-checkout optional "false" If "true", skips checkout of your repository. Useful if you are already checking out your repository using actions/checkout.
task-directory optional ./ The relative path from your GitHub repo root where your airplane tasks live. Setting this will speed up your deploy if your repo contains many files that aren't airplane tasks

airplane-deploy's People

Contributors

leeweisberger avatar renovate[bot] avatar colinking avatar yolken-airplane avatar francescaleung avatar joshma avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.