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: |
|
run: |
|
||||||
npm ci
|
npm ci
|
||||||
npm run build
|
npm run build
|
||||||
node ./src/index.js
|
node ./src/test.js
|
||||||
env:
|
env:
|
||||||
SSH_PRIVATE_KEY: $EXAMPLE_SSH_PRIVATE_KEY
|
SSH_PRIVATE_KEY: $EXAMPLE_SSH_PRIVATE_KEY
|
||||||
ARGS: "-rltgoDzvO"
|
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