mirror of
https://github.com/easingthemes/ssh-deploy.git
synced 2024-11-12 13:48:07 +00:00
test env vars
This commit is contained in:
parent
25ffb03f81
commit
8073f2b34c
2
.github/workflows/e2e.yml
vendored
2
.github/workflows/e2e.yml
vendored
@ -57,7 +57,7 @@ jobs:
|
||||
run: |
|
||||
npm ci
|
||||
npm run build
|
||||
node ./src/index.js
|
||||
node ./src/test.js
|
||||
env:
|
||||
SSH_PRIVATE_KEY: $EXAMPLE_SSH_PRIVATE_KEY
|
||||
ARGS: "-rltgoDzvO"
|
||||
|
9
src/test.js
Normal file
9
src/test.js
Normal file
@ -0,0 +1,9 @@
|
||||
const {
|
||||
REMOTE_HOST, REMOTE_USER,
|
||||
REMOTE_PORT, SSH_PRIVATE_KEY, DEPLOY_KEY_NAME,
|
||||
SOURCE, TARGET, ARGS, EXCLUDE,
|
||||
GITHUB_WORKSPACE
|
||||
} = require('./inputs');
|
||||
|
||||
// eslint-disable-next-line max-len
|
||||
console.log(REMOTE_HOST, REMOTE_USER, REMOTE_PORT, SSH_PRIVATE_KEY, DEPLOY_KEY_NAME, SOURCE, TARGET, ARGS, EXCLUDE, GITHUB_WORKSPACE);
|
Loading…
Reference in New Issue
Block a user