mirror of
https://github.com/easingthemes/ssh-deploy.git
synced 2024-11-14 07:08:04 +00:00
start e2e
This commit is contained in:
parent
f2f261e6bd
commit
8e3acd84f2
34
.github/workflows/example.yml
vendored
Normal file
34
.github/workflows/example.yml
vendored
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
name: e2e Test
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
env:
|
||||||
|
TEST_PROJECT: ./test_project
|
||||||
|
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
host:
|
||||||
|
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [ ubuntu-latest ]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Create ssh keys
|
||||||
|
run: |
|
||||||
|
ssh-keygen -m PEM -t rsa -b 4096
|
||||||
|
shell: bash
|
||||||
|
- name: Create project file
|
||||||
|
run: |
|
||||||
|
mkdir $TEST_PROJECT && cd $TEST_PROJECT
|
||||||
|
touch index.html
|
||||||
|
date +"%Y-%m-%d %H:%M:%S,%3N" >> index.html
|
||||||
|
cat index.html
|
||||||
|
shell: bash
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -19,3 +19,4 @@ node_modules/
|
|||||||
|
|
||||||
# IDE
|
# IDE
|
||||||
.idea
|
.idea
|
||||||
|
.vscode
|
||||||
|
Loading…
Reference in New Issue
Block a user