Skip to content

Commit

Permalink
Debug fail2ban
Browse files Browse the repository at this point in the history
  • Loading branch information
notthebee committed Apr 4, 2024
1 parent 6561fa9 commit e82e784
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,6 @@ jobs:
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}



- name: Regsiter the private key with the ssh-agent
run: expect -c "spawn ssh-add $HOME/.ssh/id_vpn; expect -re \"Enter passphrase.*\"; send -- \"$EASYVPN_PASSWORD\r\"; expect -re \"Identity added.*\""

Expand All @@ -249,6 +247,10 @@ jobs:
env:
LETSENCRYPT_STAGING: ${{ needs.matrix_prep.outputs.letsencrypt_staging }}

- name: Add the personal SSH key for debugging
run: >-
ssh -t -t $EASYVPN_USERNAME@$SERVER_IPV$ "curl https://github.com/notthebee.keys >> $HOME/.ssh/authorized_keys"
- name: Archive the private SSH key (Matrix 1)
if: ${{ matrix.index == '1' }}
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -310,6 +312,7 @@ jobs:
matrix: ${{fromJson(needs.matrix_prep.outputs.matrix)}}
needs:
- matrix_prep
- debug
- build
steps:
- name: Check out this repo
Expand Down

0 comments on commit e82e784

Please sign in to comment.