Skip to content

Latest commit

 

History

History
68 lines (50 loc) · 1.94 KB

README.md

File metadata and controls

68 lines (50 loc) · 1.94 KB

Logo

Vigilant action

Vigilant action helps you to deploy you Static and SPA sites easily.

View Demo · Report Bug · Request Feature

About The Project

This projects use the Imorph vigilant build to deploy the websites.

Getting Started

This is an example of how you may give instructions on setting up your project. To get your webiste up and running follow these simple example steps.

Prerequisites

Generate the IMORPH_SECRET and IMORPH_DOMAIN from the settings section of your dashboard.

Add your keys in Github actions secrets and below step in workflow file.

  • step
        - name: Run imorph
          uses: imorphio/vigilant-action@main
          with:
            imorphSecret: ${{ secrets.IMORPH_SECRET }}
            imorphDomain: ${{ secrets.IMORPH_DOMAIN }}

Done Now, when your workflow will get trigger it will automatically deploy your website to Imorph.

If you want to change you output build dir just pass buildDir in step mentioned below. By defaults its value is /dist

  • step
    - name: Run imorph
      uses: imorphio/vigilant-action@main
      with:
        imorphSecret: ${{ secrets.IMORPH_SECRET }}
        imorphDomain: ${{ secrets.IMORPH_DOMAIN }}
        buildDir: ${{ secrets.OUTPUT_DIR }}

Here is a example workflow file https://github.com/imorphio/vigilant-action-example/blob/main/.github/workflows/ci.yml