convert
All checks were successful
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (push) Successful in 10s
checks / Set up Java for Backend Tests and Build (push) Successful in 10s
Gitea Actions Demo / Explore-Gitea-Actions-2 (pull_request) Successful in 3s
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (pull_request) Successful in 10s
checks / Set up Java for Backend Tests and Build (pull_request) Successful in 12s
All checks were successful
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (push) Successful in 10s
checks / Set up Java for Backend Tests and Build (push) Successful in 10s
Gitea Actions Demo / Explore-Gitea-Actions-2 (pull_request) Successful in 3s
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (pull_request) Successful in 10s
checks / Set up Java for Backend Tests and Build (pull_request) Successful in 12s
This commit is contained in:
@ -100,16 +100,16 @@ jobs:
|
||||
|
||||
- name: Publish frontend .next build to server
|
||||
env:
|
||||
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
SSH_PUBLIC_KEY: ${{ secrets.SSH_PUBLIC_KEY }}
|
||||
SERVER_IP: ${{ vars.SERVER_IP }}
|
||||
DOMAIN_NAME: ${{ vars.$DOMAIN_NAME }}
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
|
||||
echo "$SSH_PUBLIC_KEY" > ~/.ssh/id_rsa
|
||||
chmod 600 ~/.ssh/id_rsa
|
||||
|
||||
echo "SERVER_IP: $SERVER_IP"
|
||||
echo "DOMAIN_NAME: $DOMAIN_NAME"
|
||||
echo "SERVER_IP: $SERVER_IP"
|
||||
echo "DOMAIN_NAME: $DOMAIN_NAME"
|
||||
|
||||
cat ~/.ssh/id_rsa | head -3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user