summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMiklós Fazekas <mfazekas@szemafor.com>2021-01-09 16:18:36 +0100
committerMiklós Fazekas <mfazekas@szemafor.com>2021-01-09 16:18:36 +0100
commit23baad5a1197f718dbc2d2c846d87591f8f56055 (patch)
tree6ac0587f3e45cff2a084b83e903a7edd2ccbaef9 /.github
parent0e3a6f5c3f4c2236aa308c0ceb77101e1679c85f (diff)
downloadnet-ssh-23baad5a1197f718dbc2d2c846d87591f8f56055.tar.gz
Added gateway.netssh to etc/hosts
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 8b1a6b9..a873aac 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -26,6 +26,7 @@ jobs:
key: ${{ runner.os }}-${{ matrix.ruby-version }}-gem-v3-${{ hashFiles('**/Gemfile') }}-${{ hashFiles('**/net-ssh.gemspec') }}
restore-keys: |
${{ runner.os }}-${{ matrix.ruby-version }}-gem-v3-
+
- name: Cache pip
uses: actions/cache@v1
id: pip-cache
@@ -44,6 +45,9 @@ jobs:
env:
BUNDLE_PATH: vendor/bundle
+ - name: Add to etc/hosts
+ run: |
+ sudo echo "127.0.0.1 gateway.netssh" | sudo tee -a /etc/hosts
- name: Ansible install
run: |
python -m pip install --upgrade pip