SpicyPizza/create-envfile

How can I create .env file with my own custom name?

khayargoli opened this issue · 2 comments

How can I create .env file with my own custom name? for example for staging I want to create .staging.env file or for production .prod.env?

Can I do this?

@khayargoli I believe putting following in with block
file_name: .env.test

Yes, from the readme:

jobs:
  create-envfile:
    runs-on: ubuntu-latest
    steps:
    - name: Make envfile
      uses: SpicyPizza/create-envfile@v1.3
      with:
        file_name: .staging.env # <-- Here

Please reopen if this doesn't work!