GithubHelp home page GithubHelp logo

jubalm / action-deploy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fleekhq/action-deploy

0.0 0.0 0.0 14 KB

Github Action to deploy code to a Fleek Site

Shell 58.32% Makefile 10.62% HTML 12.01% Dockerfile 19.05%

action-deploy's Introduction

Deploy Action

Fleek Dev Slack License

Introduction

Fleek's Deploy Action provides an easy way to deploy your configured Fleek site's publish directory.

Example Usage

Create a .github/workflows/deploy.yml workflow file in your repository with the following configuration:

on: [push]

jobs:
  test-deploy:
    runs-on: ubuntu-latest
    name: A job to test the action-deploy action by deploying a test site
    steps:
      - uses: actions/checkout@v2
      - name: Deploy test site
        id: deploy
        uses: fleekhq/action-deploy@v1
        with:
          apiKey: ${{ secrets.FLEEK_API_KEY }}
      - name: Get the output url
        run: echo "Deploy url is ${{ steps.deploy.outputs.deployUrl }}"

Configuration Options

The action can be configured with the following input arguments:

  • apiKey (required) - Your Fleek scoped API key that has permission to deploy to the configured site.

  • workDir (optional) - The location of your .fleek.json config file. Defaults to repositories base directory.

  • commitHash - (optional) - Optional git commit hash to deploy. Only useful for fleek sites linked to github.

Contributing

To submit a feature, bug fix, or enhancement to Deploy Actions, follow these steps:

  1. Fork this repository.
  2. Make desired changes.
  3. Confirm a successful Docker build with docker build -t fleekhq/action-deploy ..
  4. Open a Pull Request and follow the prompts.

We value and appreciate all contributions.

Related Resources

License

Fleeks Deploy Action is licensed under a GNU General Public License

action-deploy's People

Contributors

perfectmak avatar jubalm avatar qx-nico avatar studna 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.