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

feat: added archive artifact step #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/gitops.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,15 @@ jobs:
# Generates an execution plan for Terraform
- name: Terraform Plan
id: tf_plan
run: terraform plan -no-color
run: terraform plan -out=tfplan -no-color

- name: Archive Artifacts
uses: actions/upload-artifact@v4
with:
name: tf-plan-output
path: |
${{ env.TERRAFORM_DIR }}/tfplan
retention-days: 90

# Comments the terraform plan output on pull request
- id: comment_output
Expand Down
Loading