Skip to content

Commit

Permalink
add github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivy Nzioka authored and Ivy Nzioka committed Mar 11, 2024
1 parent 855770b commit c64c02c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/worfklows/build.yaml → .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: Terraform Deployment

on:
# workflow_dispatch: # Manually triggered workflow
pull_request:
branches:
- develop
- master
- feature/add_github_action

push:
branches:
- develop
Expand All @@ -26,8 +27,16 @@ jobs:
terraform_version: 1.x # Specify the Terraform version if needed
cli_config_credentials_token: ${{ secrets.HETZNER_CLOUD_TOKEN }}

- name: Upload secure file
uses: actions/upload-artifact@v2
with:
name: hcloud_terraform_id_rsa
path: ~/.ssh/hcloud_terraform_id_rsa



- name: Download secure file
id: privateKey
# id: privateKey
uses: actions/download-artifact@v2
with:
name: hcloud_terraform_id_rsa
Expand Down
File renamed without changes.

0 comments on commit c64c02c

Please sign in to comment.