mirror of
https://github.com/easingthemes/ssh-deploy.git
synced 2024-11-19 08:08:05 +08:00
Compare commits
13 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
fbeaefca08 | ||
|
f04642c1f5 | ||
|
fdf6057d5e | ||
|
87551c3893 | ||
|
83d848a9e4 | ||
|
9c02ed6208 | ||
|
2197bc60ef | ||
|
eb4a19604b | ||
|
09342ca039 | ||
|
40096bf224 | ||
|
4383250122 | ||
|
142b71c9e1 | ||
|
8218c8ed95 |
1
.github/workflows/manual-release.yml
vendored
1
.github/workflows/manual-release.yml
vendored
@@ -36,6 +36,7 @@ jobs:
|
|||||||
@semantic-release/git
|
@semantic-release/git
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
GIT_AUTHOR_NAME: github-actions
|
GIT_AUTHOR_NAME: github-actions
|
||||||
GIT_AUTHOR_EMAIL: github-actions@github.com
|
GIT_AUTHOR_EMAIL: github-actions@github.com
|
||||||
GIT_COMMITTER_NAME: github-actions
|
GIT_COMMITTER_NAME: github-actions
|
||||||
|
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
@@ -36,6 +36,7 @@ jobs:
|
|||||||
@semantic-release/git
|
@semantic-release/git
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
GIT_AUTHOR_NAME: github-actions
|
GIT_AUTHOR_NAME: github-actions
|
||||||
GIT_AUTHOR_EMAIL: github-actions@github.com
|
GIT_AUTHOR_EMAIL: github-actions@github.com
|
||||||
GIT_COMMITTER_NAME: github-actions
|
GIT_COMMITTER_NAME: github-actions
|
||||||
|
@@ -55,11 +55,12 @@ path to exclude separated by `,`, ie: `/dist/, /node_modules/`
|
|||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
|
|
||||||
!!! Please use latest version, Readme file is just an example, eg: ssh-deploy@v2.1.5
|
Use the latest version from Marketplace,eg: ssh-deploy@v2
|
||||||
|
or use the latest version from a branch, eg: ssh-deploy@main
|
||||||
|
|
||||||
```
|
```
|
||||||
- name: Deploy to Staging server
|
- name: Deploy to Staging server
|
||||||
uses: easingthemes/ssh-deploy@v2.1.5
|
uses: easingthemes/ssh-deploy@main
|
||||||
env:
|
env:
|
||||||
SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }}
|
SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }}
|
||||||
ARGS: "-rltgoDzvO"
|
ARGS: "-rltgoDzvO"
|
||||||
@@ -93,7 +94,7 @@ jobs:
|
|||||||
- name: Run build task
|
- name: Run build task
|
||||||
run: npm run build --if-present
|
run: npm run build --if-present
|
||||||
- name: Deploy to Server
|
- name: Deploy to Server
|
||||||
uses: easingthemes/ssh-deploy@v2.1.5
|
uses: easingthemes/ssh-deploy@main
|
||||||
env:
|
env:
|
||||||
SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }}
|
SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }}
|
||||||
ARGS: "-rltgoDzvO --delete"
|
ARGS: "-rltgoDzvO --delete"
|
||||||
|
746
dist/index.js
vendored
746
dist/index.js
vendored
File diff suppressed because one or more lines are too long
@@ -1,3 +1,31 @@
|
|||||||
|
## [2.2.7](https://github.com/easingthemes/ssh-deploy/compare/v2.2.6...v2.2.7) (2021-05-27)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* minify dist ([87551c3](https://github.com/easingthemes/ssh-deploy/commit/87551c38936fc91c0fbe3346ca43319d8098ac09))
|
||||||
|
|
||||||
|
## [2.2.6](https://github.com/easingthemes/ssh-deploy/compare/v2.2.5...v2.2.6) (2021-05-27)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* add NPM token ([2197bc6](https://github.com/easingthemes/ssh-deploy/commit/2197bc60ef7870d4bd494966b314eabec1615bd7))
|
||||||
|
|
||||||
|
## [2.2.5](https://github.com/easingthemes/ssh-deploy/compare/v2.2.4...v2.2.5) (2021-05-27)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* semantic-release/npm update config ([40096bf](https://github.com/easingthemes/ssh-deploy/commit/40096bf22459d1dd82172d2bd20c0c149e70b1e1))
|
||||||
|
|
||||||
|
## [2.2.4](https://github.com/easingthemes/ssh-deploy/compare/v2.2.3...v2.2.4) (2021-05-27)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* add branch instead of a version in a readme ([8218c8e](https://github.com/easingthemes/ssh-deploy/commit/8218c8ed9514d772933e1ab4d1c725a7c05e149f))
|
||||||
|
|
||||||
## [2.2.3](https://github.com/easingthemes/ssh-deploy/compare/v2.2.2...v2.2.3) (2021-05-27)
|
## [2.2.3](https://github.com/easingthemes/ssh-deploy/compare/v2.2.2...v2.2.3) (2021-05-27)
|
||||||
|
|
||||||
|
|
||||||
|
@@ -1,9 +1,8 @@
|
|||||||
{
|
{
|
||||||
"name": "ssh-deploy",
|
"name": "ssh-deploy",
|
||||||
"version": "2.1.9",
|
"version": "2.1.9",
|
||||||
"private": true,
|
|
||||||
"description": "Fast NodeJS action to deploy specific directory from `GITHUB_WORKSPACE` to a server via rsync over ssh.",
|
"description": "Fast NodeJS action to deploy specific directory from `GITHUB_WORKSPACE` to a server via rsync over ssh.",
|
||||||
"main": "src/index.js",
|
"main": "dist/index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"command-exists": "1.2.9",
|
"command-exists": "1.2.9",
|
||||||
"node-cmd": "4.0.0",
|
"node-cmd": "4.0.0",
|
||||||
@@ -16,7 +15,7 @@
|
|||||||
"eslint-plugin-import": "^2.23.3"
|
"eslint-plugin-import": "^2.23.3"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "npm run lint && ncc build ./src/index.js -o dist",
|
"build": "npm run lint && ncc build ./src/index.js -o dist -m",
|
||||||
"lint": "eslint ./src/index.js",
|
"lint": "eslint ./src/index.js",
|
||||||
"lint:fix": "eslint ./src/index.js --fix"
|
"lint:fix": "eslint ./src/index.js --fix"
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user