mirror of
https://github.com/easingthemes/ssh-deploy.git
synced 2024-11-19 08:08:05 +08:00
Compare commits
34 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
c711f2c339 | ||
|
824072bc5a | ||
|
3c36af7577 | ||
|
649339f4bb | ||
|
66e6843055 | ||
|
0867b12954 | ||
|
d71ce0f0b2 | ||
|
382db98e53 | ||
|
191c82d9b4 | ||
|
5109c975e9 | ||
|
76882263e5 | ||
|
9c4e4119ad | ||
|
fbeaefca08 | ||
|
f04642c1f5 | ||
|
fdf6057d5e | ||
|
87551c3893 | ||
|
83d848a9e4 | ||
|
9c02ed6208 | ||
|
2197bc60ef | ||
|
eb4a19604b | ||
|
09342ca039 | ||
|
40096bf224 | ||
|
4383250122 | ||
|
142b71c9e1 | ||
|
8218c8ed95 | ||
|
b75a6aac49 | ||
|
a0be71d296 | ||
|
87ad6713b5 | ||
|
b12dcbe93c | ||
|
c984a47bf5 | ||
|
5e456a475a | ||
|
a9eda89ad7 | ||
|
3cfa1cdc25 | ||
|
ce56d75fc1 |
4
.github/workflows/codeql-analysis.yml
vendored
4
.github/workflows/codeql-analysis.yml
vendored
@@ -39,7 +39,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
languages: ${{ matrix.language }}
|
languages: ${{ matrix.language }}
|
||||||
|
|
||||||
- run: npm run build --if-present
|
- run: |
|
||||||
|
npm ci
|
||||||
|
npm run build --if-present
|
||||||
|
|
||||||
- name: Perform CodeQL Analysis
|
- name: Perform CodeQL Analysis
|
||||||
uses: github/codeql-action/analyze@v1
|
uses: github/codeql-action/analyze@v1
|
||||||
|
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
|
||||||
|
@@ -9,10 +9,13 @@
|
|||||||
"changelogFile": "docs/CHANGELOG.md"
|
"changelogFile": "docs/CHANGELOG.md"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
["@semantic-release/npm", {
|
||||||
|
"npmPublish": false
|
||||||
|
}],
|
||||||
[
|
[
|
||||||
"@semantic-release/git",
|
"@semantic-release/git",
|
||||||
{
|
{
|
||||||
"assets": ["docs/CHANGELOG.md"]
|
"assets": ["docs/CHANGELOG.md", "package.json"]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
@@ -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,80 @@
|
|||||||
|
## [2.2.11](https://github.com/easingthemes/ssh-deploy/compare/v2.2.10...v2.2.11) (2021-05-28)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* remove change npm to public ([3c36af7](https://github.com/easingthemes/ssh-deploy/commit/3c36af7577e5aee231cea5a01bb6cc83717d0e74))
|
||||||
|
|
||||||
|
## [2.2.10](https://github.com/easingthemes/ssh-deploy/compare/v2.2.9...v2.2.10) (2021-05-27)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* add assets to semantic-release git ([0867b12](https://github.com/easingthemes/ssh-deploy/commit/0867b12954dee2b8a2cccb7dfea3b8f3aa62d679))
|
||||||
|
|
||||||
|
## [2.2.9](https://github.com/easingthemes/ssh-deploy/compare/v2.2.8...v2.2.9) (2021-05-27)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* change npm to public ([191c82d](https://github.com/easingthemes/ssh-deploy/commit/191c82d9b441e26cf43f81041376dbf5ecdc1647))
|
||||||
|
|
||||||
|
## [2.2.8](https://github.com/easingthemes/ssh-deploy/compare/v2.2.7...v2.2.8) (2021-05-27)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* update npm package name ([9c4e411](https://github.com/easingthemes/ssh-deploy/commit/9c4e4119ad64792e5435e4dbe574c56a3e70839c))
|
||||||
|
|
||||||
|
## [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)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* codeql yaml syntax update ([87ad671](https://github.com/easingthemes/ssh-deploy/commit/87ad6713b53d454bd7ad6c4576cea7b2e3e2f4f3))
|
||||||
|
|
||||||
|
## [2.2.2](https://github.com/easingthemes/ssh-deploy/compare/v2.2.1...v2.2.2) (2021-05-27)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* codeql build ([5e456a4](https://github.com/easingthemes/ssh-deploy/commit/5e456a475a15096d08ccd2aff2734b3f1250b308))
|
||||||
|
|
||||||
|
## [2.2.1](https://github.com/easingthemes/ssh-deploy/compare/v2.2.0...v2.2.1) (2021-05-27)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* add package json auto updates ([ce56d75](https://github.com/easingthemes/ssh-deploy/commit/ce56d75fc1b62a99d72ffba70dcb24fcc3b6b3df))
|
||||||
|
|
||||||
# [2.2.0](https://github.com/easingthemes/ssh-deploy/compare/v2.1.7...v2.2.0) (2021-05-27)
|
# [2.2.0](https://github.com/easingthemes/ssh-deploy/compare/v2.1.7...v2.2.0) (2021-05-27)
|
||||||
|
|
||||||
|
|
||||||
|
14
package.json
14
package.json
@@ -1,8 +1,14 @@
|
|||||||
{
|
{
|
||||||
"name": "ssh-deploy",
|
"name": "@draganfilipovic/ssh-deploy",
|
||||||
"version": "2.1.9",
|
"version": "2.2.11",
|
||||||
"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",
|
||||||
|
"files": [
|
||||||
|
"/dist",
|
||||||
|
"./action.yml",
|
||||||
|
"./README.md",
|
||||||
|
"LICENSE"
|
||||||
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"command-exists": "1.2.9",
|
"command-exists": "1.2.9",
|
||||||
"node-cmd": "4.0.0",
|
"node-cmd": "4.0.0",
|
||||||
@@ -15,7 +21,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