2021-03-10 02:19:17 -05:00
|
|
|
on: [ push, pull_request ]
|
2019-09-15 03:32:43 -04:00
|
|
|
|
|
|
|
jobs:
|
2021-03-10 02:19:17 -05:00
|
|
|
deployment_keys_demo:
|
2020-01-14 04:21:11 -05:00
|
|
|
strategy:
|
2021-03-10 02:19:17 -05:00
|
|
|
fail-fast: false
|
2020-01-14 04:21:11 -05:00
|
|
|
matrix:
|
2021-03-10 02:19:17 -05:00
|
|
|
os: [ ubuntu-latest, macOS-latest, windows-latest ]
|
2020-01-14 04:21:11 -05:00
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
steps:
|
2024-02-06 03:38:02 -05:00
|
|
|
- uses: actions/checkout@v4
|
2021-03-10 02:19:17 -05:00
|
|
|
- name: Setup key
|
|
|
|
uses: ./
|
|
|
|
with:
|
|
|
|
ssh-private-key: |
|
|
|
|
${{ secrets.MPDUDE_TEST_1_DEPLOY_KEY }}
|
|
|
|
${{ secrets.MPDUDE_TEST_2_DEPLOY_KEY }}
|
|
|
|
- run: |
|
|
|
|
git clone https://github.com/mpdude/test-1.git test-1-http
|
|
|
|
git clone git@github.com:mpdude/test-1.git test-1-git
|
|
|
|
git clone ssh://git@github.com/mpdude/test-1.git test-1-git-ssh
|
|
|
|
git clone https://github.com/mpdude/test-2.git test-2-http
|
|
|
|
git clone git@github.com:mpdude/test-2.git test-2-git
|
|
|
|
git clone ssh://git@github.com/mpdude/test-2.git test-2-git-ssh
|
2021-02-13 15:02:34 -05:00
|
|
|
|
|
|
|
docker_demo:
|
2021-03-10 02:19:17 -05:00
|
|
|
runs-on: ubuntu-latest
|
2021-02-13 15:02:34 -05:00
|
|
|
container:
|
|
|
|
image: ubuntu:latest
|
|
|
|
steps:
|
2024-02-06 03:38:02 -05:00
|
|
|
- uses: actions/checkout@v4
|
2021-03-10 02:19:17 -05:00
|
|
|
- run: apt update && apt install -y openssh-client git
|
|
|
|
- name: Setup key
|
|
|
|
uses: ./
|
|
|
|
with:
|
|
|
|
ssh-private-key: |
|
|
|
|
${{ secrets.MPDUDE_TEST_1_DEPLOY_KEY }}
|
|
|
|
${{ secrets.MPDUDE_TEST_2_DEPLOY_KEY }}
|
|
|
|
- run: |
|
|
|
|
git clone https://github.com/mpdude/test-1.git test-1-http
|
|
|
|
git clone git@github.com:mpdude/test-1.git test-1-git
|
|
|
|
git clone ssh://git@github.com/mpdude/test-1.git test-1-git-ssh
|
|
|
|
git clone https://github.com/mpdude/test-2.git test-2-http
|
|
|
|
git clone git@github.com:mpdude/test-2.git test-2-git
|
|
|
|
git clone ssh://git@github.com/mpdude/test-2.git test-2-git-ssh
|
2021-02-19 08:37:34 -05:00
|
|
|
|