denoland / deployctl

Command line tool for Deno Deploy
https://deno.com/deploy
MIT License
352 stars 58 forks source link

Support setting env variables in GH action #297

Open arnauorriols opened 8 months ago

arnauorriols commented 8 months ago

Integrate with GH secrets?

csvn commented 1 month ago

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.