Skip to content

Commit

Permalink
Restart yggdrasil service in the tests workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmedHanafy725 authored Mar 10, 2024
1 parent b85c250 commit 25a2ef4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/grid_client_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
sudo systemctl enable yggdrasil
PEERS=$(curl https://raw.githubusercontent.com/AhmedHanafy725/yggdrasil-config/main/config.json | jq '.yggdrasil.peers[]' -r | sed 's/\//\\\//g' | sed -z 's/\n/\\n/g')
sudo sed -i -- 's/Peers\: \[\]/Peers: [\n'"$PEERS"']/g' /etc/yggdrasil/yggdrasil.conf
sudo systemctl stop yggdrasil
sudo systemctl start yggdrasil
- name: Generate SSH Key
run: |
Expand Down

0 comments on commit 25a2ef4

Please sign in to comment.