Skip to content

Commit add2e08

Browse files
committed
add destory 2
1 parent 95a237f commit add2e08

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/terraform_destroy.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,13 @@ jobs:
5252
name: "credentials.json"
5353
json: ${{ secrets.GCP_SERVICE_ACCOUNT_JSON_VALUE }}
5454

55+
# Create github ssh key directory
56+
- name: Configure github ssh
57+
run: |-
58+
mkdir .ssh
59+
echo "${{ secrets.PUBLIC_KEY_GITHUB }}" > .ssh/id_ed25519.pub
60+
echo "${{ secrets.SECRET_KEY_GITHUB }}" > .ssh/id_ed25519
61+
5562
# destroy GCP instance
5663
- name: destory GCP Compute Engine
5764
run: make clean

0 commit comments

Comments
 (0)