-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update the doc enable trace profiling
Signed-off-by: Daxin Wang <[email protected]>
- Loading branch information
Daxin Wang
committed
Jan 4, 2024
1 parent
b10dd5b
commit 123703a
Showing
2 changed files
with
4 additions
and
4 deletions.
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 |
---|---|---|
|
@@ -21,11 +21,12 @@ jobs: | |
|
||
- uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{ secrets.WEBSITE_HOST_KEY }} | ||
ssh-private-key: ${{ secrets.WEBSITE_PRIVATE_KEY }} | ||
|
||
- name: Build and Deploy | ||
env: | ||
WEBSITE_HOST: ${{ secrets.WEBSITE_HOST }} | ||
WEBSITE_HOST_KEY: ${{ secrets.WEBSITE_HOST_KEY }} | ||
WEBSITE_PATH: ${{ secrets.WEBSITE_PATH }} | ||
run: | | ||
# Set the real domain | ||
|
@@ -35,8 +36,7 @@ jobs: | |
# Compress and transfer the tarball | ||
cd public && tar -cvzf public.tar.gz * | ||
# Add the host key | ||
hostKey='kindlingx.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIfN3rkIrcVwFzs1oRYQ+pmyHmNbRWvikxRl7pRPVL/2' | ||
echo "$hostKey" >> ~/.ssh/known_hosts | ||
echo $WEBSITE_HOST_KEY >> ~/.ssh/known_hosts | ||
scp public.tar.gz "$WEBSITE_HOST":$WEBSITE_PATH/.. | ||
# Update the website | ||
|
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