Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Fix: Encrypt post can be viewed without password #19

Fix: Encrypt post can be viewed without password

Fix: Encrypt post can be viewed without password #19

Workflow file for this run

name: Deploy to VPS
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'oracle'
java-version: '17'
- name: Build with Maven
run: mvn clean package
- name: Deploy to VPS
uses: easingthemes/ssh-deploy@main
with:
SSH_PRIVATE_KEY: ${{ secrets.ALIYUN_SSH }}
ARGS: "-rlgoDzvc -i --delete"
SOURCE: "target/"
EXCLUDE: "application.yml , run_jar.sh, /upload"
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
REMOTE_USER: ${{ secrets.REMOTE_USER }}
TARGET: ${{ secrets.REMOTE_TARGET }}
SCRIPT_AFTER: ${{ secrets.REMOTE_TARGET }}/run_jar.sh