mittwald / mittwald/zerodeploy-action

Add a way to inject environment variables for deployment

Open
#8 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Status quo:

  • Write an .env file in a previous action step, and have this action pick that file up

Ideas:

  • Just pass through all environment variables of the action. Probably a very bad idea.

  • Add an environment input to the action:

    - name: Deploy to Mittwald Container Hosting
      uses: mittwald/rp-container-deploy-action@master
      with:
        mittwald-api-token: ${{ secrets.MITTWALD_API_TOKEN }}
        mittwald-project-id: 'p-XXXXXX'
        environment: |
          FOO=BAR
          BAR=${{ secrets.BAR_SECRET }}
    

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files or tests are named. Start by locating the action's input definitions and the deployment entry point, then compare the existing .env-file handling with the proposed environment input. Done means the YAML example passes variables, including secrets, into the deployed container without requiring a previous step.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd, devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.