forked from LiamAEdwards/SS14-Docker-Linux-Server
Add git host mapping for CI
This commit is contained in:
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
@@ -24,6 +24,15 @@ jobs:
|
||||
contents: read
|
||||
packages: write
|
||||
steps:
|
||||
- name: Add git.wylab.me host mapping
|
||||
run: |
|
||||
if ! grep -q "$HOST_NAME" /etc/hosts; then
|
||||
echo "$HOST_IP $HOST_NAME" | sudo tee -a /etc/hosts
|
||||
fi
|
||||
env:
|
||||
HOST_IP: 85.59.185.148
|
||||
HOST_NAME: git.wylab.me
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
|
||||
Reference in New Issue
Block a user