mirror of
https://github.com/namibia/openvpn-install.git
synced 2025-01-03 11:47:21 +00:00
Pin GitHub Actions version (#702)
This commit is contained in:
parent
e13141d859
commit
54b884e7b1
12
.github/workflows/test.yml
vendored
12
.github/workflows/test.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
|||||||
- centos-7-x64
|
- centos-7-x64
|
||||||
- centos-8-x64
|
- centos-8-x64
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Setup doctl
|
- name: Setup doctl
|
||||||
uses: digitalocean/action-doctl@v2
|
uses: digitalocean/action-doctl@v2
|
||||||
@ -51,7 +51,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Setup remote server (Debian/Ubuntu)
|
- name: Setup remote server (Debian/Ubuntu)
|
||||||
if: steps.server_os.outputs.value == 'debian' || steps.server_os.outputs.value == 'ubuntu'
|
if: steps.server_os.outputs.value == 'debian' || steps.server_os.outputs.value == 'ubuntu'
|
||||||
uses: appleboy/ssh-action@master
|
uses: appleboy/ssh-action@v0.1.2
|
||||||
with:
|
with:
|
||||||
host: ${{ steps.server_ip.outputs.value }}
|
host: ${{ steps.server_ip.outputs.value }}
|
||||||
username: root
|
username: root
|
||||||
@ -60,7 +60,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Setup remote server (Fedora)
|
- name: Setup remote server (Fedora)
|
||||||
if: steps.server_os.outputs.value == 'fedora'
|
if: steps.server_os.outputs.value == 'fedora'
|
||||||
uses: appleboy/ssh-action@master
|
uses: appleboy/ssh-action@v0.1.2
|
||||||
with:
|
with:
|
||||||
host: ${{ steps.server_ip.outputs.value }}
|
host: ${{ steps.server_ip.outputs.value }}
|
||||||
username: root
|
username: root
|
||||||
@ -69,7 +69,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Setup remote server (CentOS)
|
- name: Setup remote server (CentOS)
|
||||||
if: steps.server_os.outputs.value == 'centos'
|
if: steps.server_os.outputs.value == 'centos'
|
||||||
uses: appleboy/ssh-action@master
|
uses: appleboy/ssh-action@v0.1.2
|
||||||
with:
|
with:
|
||||||
host: ${{ steps.server_ip.outputs.value }}
|
host: ${{ steps.server_ip.outputs.value }}
|
||||||
username: root
|
username: root
|
||||||
@ -77,7 +77,7 @@ jobs:
|
|||||||
script: set -x && yum install -y git
|
script: set -x && yum install -y git
|
||||||
|
|
||||||
- name: Download repo and checkout current commit
|
- name: Download repo and checkout current commit
|
||||||
uses: appleboy/ssh-action@master
|
uses: appleboy/ssh-action@v0.1.2
|
||||||
with:
|
with:
|
||||||
host: ${{ steps.server_ip.outputs.value }}
|
host: ${{ steps.server_ip.outputs.value }}
|
||||||
username: root
|
username: root
|
||||||
@ -85,7 +85,7 @@ jobs:
|
|||||||
script: set -x && git clone https://github.com/angristan/openvpn-install.git && cd openvpn-install && git checkout ${{ github.event.pull_request.head.sha }}
|
script: set -x && git clone https://github.com/angristan/openvpn-install.git && cd openvpn-install && git checkout ${{ github.event.pull_request.head.sha }}
|
||||||
|
|
||||||
- name: Run openvpn-install.sh in headless mode
|
- name: Run openvpn-install.sh in headless mode
|
||||||
uses: appleboy/ssh-action@master
|
uses: appleboy/ssh-action@v0.1.2
|
||||||
with:
|
with:
|
||||||
host: ${{ steps.server_ip.outputs.value }}
|
host: ${{ steps.server_ip.outputs.value }}
|
||||||
username: root
|
username: root
|
||||||
|
Loading…
Reference in New Issue
Block a user