Skip to content

Instantly share code, notes, and snippets.

@KyMidd
Created September 15, 2022 21:18
Show Gist options
  • Select an option

  • Save KyMidd/83d060d9aed8d5eb929f5320dea059e0 to your computer and use it in GitHub Desktop.

Select an option

Save KyMidd/83d060d9aed8d5eb929f5320dea059e0 to your computer and use it in GitHub Desktop.
tf_deploy:
name: TF Deploy
needs: tf_plan
runs-on: ubuntu-latest
environment: ${{ inputs.environment }}
steps:
- name: Download Cache
id: download-cache
uses: actions/download-artifact@v3
with:
name: tf-cache-${{ github.run_id }}
- name: Download Env Vars
id: download-env-vars
uses: actions/download-artifact@v3
with:
name: env-cache-${{ github.run_id }}
- name: Read Env Vars
id: read-env-vars
run: |
cat env.vars >> $GITHUB_ENV
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment