Skip to content

Commit

Permalink
Merge pull request #105 from nathanielvarona/documentation-complete-p…
Browse files Browse the repository at this point in the history
…rofile-name-for-profile-server-examples

Examples of Complete Profile Name for Profile Server Inputs
  • Loading branch information
nathanielvarona authored Oct 23, 2023
2 parents 4fddaf1 + 578a768 commit a8229cd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/connection-tests-complete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- false

runs-on: ${{ matrix.os }}
name: "run:${{ matrix.os }}, ps:${{ matrix.profile-server }}, vpn:${{ matrix.vpn-mode }}, cv:${{ matrix.client-version }}, sc:${{ matrix.start-connection }}"
name: "run:${{ matrix.os }}, ps:'${{ matrix.profile-server }}', vpn:${{ matrix.vpn-mode }}, cv:${{ matrix.client-version }}, sc:${{ matrix.start-connection }}"

steps:
- name: Checkout
Expand Down
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ You can connect to a specific server by specifying its name.
profile-server: qa-team
```

And the ability to connect to multiple servers by comma separations by its name.
The feature allows us to connect to multiple servers by their names, separated by commas.

```yml
- name: Setup Pritunl Profile and Start VPN Connection
Expand All @@ -164,6 +164,17 @@ And the ability to connect to multiple servers by comma separations by its name.
profile-server: qa-team, dev-team
```

You can use the full profile name as well, it is also acceptable.

```yml
- name: Setup Pritunl Profile and Start VPN Connection
uses: nathanielvarona/pritunl-client-github-action@v1
with:
profile-file: ${{ secrets.PRITUNL_PROFILE_FILE }}
profile-server: cicd.automation (qa-team), cicd.automation (dev-team)
```

> Kindly check the GitHub Action workflow file `.github/workflows/connection-tests-multi-server-profile.yml` for the multi-server profile connections example.

### Or using a Specific Version of the Client and a WireGuard for the VPN Mode

Expand Down

0 comments on commit a8229cd

Please sign in to comment.