diff --git a/.github/workflows/deploy-production.yml b/.github/workflows/deploy-production.yml index d718377..4d38612 100644 --- a/.github/workflows/deploy-production.yml +++ b/.github/workflows/deploy-production.yml @@ -21,11 +21,12 @@ jobs: - uses: webfactory/ssh-agent@v0.7.0 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 diff --git a/content/en/docs/usage/enable-trace-profiling.md b/content/en/docs/usage/enable-trace-profiling.md index 5334428..3ba9319 100644 --- a/content/en/docs/usage/enable-trace-profiling.md +++ b/content/en/docs/usage/enable-trace-profiling.md @@ -15,7 +15,7 @@ toc: true ## Prerequisites - This feature only works on the Linux kernel 4.17 or newer. -- We recommend that users install the SkyWalking agent of Java before enabling trace profiling for full features supported. +- We recommend that users install **SkyWalking with the backend** and its Java agent before enabling trace profiling for full features supported. Otherwise, only the "thread profiling" is enabled and you will see the prompt "No skywalking is installed". ## Instructions > If you have not installed the Kindling agent, please do it first before you follow the instructions. See the [Installation](/docs/installation/kindling-agent/requirements) for how to install.