mirror of
https://github.com/easingthemes/ssh-deploy
synced 2025-01-15 04:10:58 +00:00
remove unused envs
This commit is contained in:
parent
a9382b67a2
commit
a3412294d1
10
.github/workflows/e2e.yml
vendored
10
.github/workflows/e2e.yml
vendored
@ -9,12 +9,6 @@ env:
|
|||||||
TEST_PROJECT: ./test_project
|
TEST_PROJECT: ./test_project
|
||||||
TEST_HOST_DOCKER: ./test
|
TEST_HOST_DOCKER: ./test
|
||||||
TEST_USER: kaja
|
TEST_USER: kaja
|
||||||
REMOTE_USER: ''
|
|
||||||
REMOTE_PORT: ''
|
|
||||||
ARGS: ''
|
|
||||||
SOURCE: ''
|
|
||||||
TARGET: ''
|
|
||||||
EXCLUDE: ''
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
e2e:
|
e2e:
|
||||||
@ -28,7 +22,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
ssh-keygen -m PEM -t rsa -b 4096 -f "$HOME/.ssh/id_rsa" -N ""
|
ssh-keygen -m PEM -t rsa -b 4096 -f "$HOME/.ssh/id_rsa" -N ""
|
||||||
EXAMPLE_SSH_PRIVATE_KEY=$(cat $HOME/.ssh/id_rsa)
|
EXAMPLE_SSH_PRIVATE_KEY=$(cat $HOME/.ssh/id_rsa)
|
||||||
echo "EXAMPLE_SSH_PRIVATE_KEY=$EXAMPLE_SSH_PRIVATE_KEY" >> $GITHUB_ENV
|
echo "EXAMPLE_SSH_PRIVATE_KEY=$EXAMPLE_SSH_PRIVATE_KEY<<EOF" >> $GITHUB_ENV
|
||||||
ssh-add "$HOME/.ssh/id_rsa"
|
ssh-add "$HOME/.ssh/id_rsa"
|
||||||
ssh-add -l
|
ssh-add -l
|
||||||
|
|
||||||
@ -58,7 +52,7 @@ jobs:
|
|||||||
touch index.html
|
touch index.html
|
||||||
date +"%Y-%m-%d %H:%M:%S,%3N" >> index.html
|
date +"%Y-%m-%d %H:%M:%S,%3N" >> index.html
|
||||||
cat index.html
|
cat index.html
|
||||||
|
|
||||||
- name: e2e Test ssh-deploy action
|
- name: e2e Test ssh-deploy action
|
||||||
uses: easingthemes/ssh-deploy@main
|
uses: easingthemes/ssh-deploy@main
|
||||||
env:
|
env:
|
||||||
|
Loading…
Reference in New Issue
Block a user