andraderaul / compare-env-files

This action will verify two env files and returns ok if their all keys are equals

Home Page:https://github.com/marketplace/actions/compare-keys-from-env-file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

compare-env-files 1.0.3

Check your file envs through github actions

Features

  • Compare two file envs to certify if their have the same keys

Parameters

firstEnv Required, File path to the Path to the firstEnv file so that it knows where to find the file that contains the keys property.

secondEnv Required, File path to the Path to the secondEnv file so that it knows where to find the file that contains the keys property.

Example

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
        - name: Compare env files
        uses: andraderaul/compare-env-files@v1.0.3
        with:
          firstEnv: .env.local
          secondEnv: .env.staging

About

This action will verify two env files and returns ok if their all keys are equals

https://github.com/marketplace/actions/compare-keys-from-env-file

License:MIT License


Languages

Language:JavaScript 100.0%