Skip to content

Commit

Permalink
Revert "Test passing secrets as environment variables"
Browse files Browse the repository at this point in the history
This reverts commit ab53aef.
  • Loading branch information
ctmbl committed May 17, 2024
1 parent 2cfb34a commit 30904a8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/deploy_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ jobs:
runs-on: ubuntu-latest
# Force to respect the 'dev-deployment' environment rules, in our case 1 maintainer approval
environment: deployment-dev
env:
SSH_KNOWN_HOSTS: ${{ secrets.SSH_KNOWN_HOSTS }}
steps:
# Checkout repo AND ITS SUBMODULES
- name: 🛒 Checkout
Expand All @@ -37,7 +35,7 @@ jobs:
chmod 600 ~/.ssh/id_rsa
- name: 🔐 Load Host Keys
run: |
echo "${{ env.SSH_KNOWN_HOSTS }}" > ~/.ssh/known_hosts
echo "${{ secrets.SSH_KNOWN_HOSTS }}" > ~/.ssh/known_hosts
- name: 🔑 Populate Key
run: |
echo "${{ secrets.PRIVATE_SSH_KEY }}" > ~/.ssh/id_rsa
Expand Down

0 comments on commit 30904a8

Please sign in to comment.