-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f37cd91
commit fa6ec5f
Showing
1 changed file
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,4 +51,21 @@ jobs: | |
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v2 | ||
uses: actions/deploy-pages@v2 | ||
- name: Download artifact | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: github-pages | ||
path: artifact | ||
- name: Extract artifact | ||
run: tar -xf artifact/*.tar --directory artifact | ||
|
||
- name: Deploy to Server | ||
uses: easingthemes/[email protected] | ||
env: | ||
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} | ||
ARGS: '-rltgoDzvO --delete' | ||
SOURCE: artifact/* | ||
REMOTE_HOST: ${{ secrets.SERVER_HOST }} | ||
REMOTE_USER: ${{ secrets.SERVER_USERNAME }} | ||
TARGET: /usr/share/nginx/XTools/ |