creamy-monkey-35142
03/22/2024, 3:38 PM- name: Pulumi up on ${{ matrix.stack }}
id: pulumi_up
uses: pulumi/actions@v4.5.0 # bug with action@v4 <https://pulumi-community.slack.com/archives/C84L4E3N1/p1675078507601099>
with:
command: up
stack-name: ${{ matrix.stack }}
comment-on-pr: true
github-token: ${{ secrets.GITHUB_TOKEN }}
so with 1password integrated, is there is way to add op value into this action rather than using custom step pulumi up (like in video). I’m thinking about
• using op inject
command to generate .env file then export it before step pulumi_up
• or pulumi/actions
support run custom command to help op
able run within the same step.
Could you help me check and share me some suggestion?echoing-dinner-19531
03/22/2024, 3:44 PMop run --env-file .env --
command prefix somehow.creamy-monkey-35142
03/22/2024, 4:04 PMop inject -i .env -o .<http://env.ci|env.ci>
2. then use action https://github.com/marketplace/actions/load-env-file
then last step pulumi/actionechoing-dinner-19531
03/22/2024, 4:14 PM