Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support setting env variables in GH action #297

Open
arnauorriols opened this issue Mar 5, 2024 · 1 comment
Open

Support setting env variables in GH action #297

arnauorriols opened this issue Mar 5, 2024 · 1 comment

Comments

@arnauorriols
Copy link
Member

Integrate with GH secrets?

@csvn
Copy link

csvn commented Sep 24, 2024

This would be very helpful! I'm not sure what you mean by "Integrate with GH secrets", but if there was an input that could handle a pre-defined syntax for secrets, it would be easy to include manually, right?

      - uses: denoland/deployctl@v1
        with:
          env: |
            SHA=${{ github.sha }}
            MY_SECRET=${{ secrets.MY_SECRET }}

I was hoping to include some metadata from the current build as environment variables to the deploy, and it would be nice if this could be achieved with the action, and not just with deployctl deploy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants