Deploy to docs.luminovaeu.tech #32
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
run-name: Deploy to docs.luminovaeu.tech | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install update package info | |
run: sudo apt-get update -y | |
- name: Install rsync | |
run: sudo apt-get install rsync -y | |
- uses: actions/checkout@v1 | |
- name: Doxygen Action | |
uses: mattnotmitt/[email protected] | |
with: | |
working-directory: './' | |
doxyfile-path: 'doxygen/Doxyfile' | |
- name: Deploy to Server | |
uses: easingthemes/ssh-deploy@main | |
env: | |
SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }} | |
REMOTE_PORT: "10022" | |
ARGS: "-rltgoDzvO --delete" | |
SOURCE: "html/" | |
REMOTE_HOST: ${{ secrets.REMOTE_HOST }} | |
REMOTE_USER: ${{ secrets.REMOTE_USER }} | |
TARGET: ${{ secrets.REMOTE_TARGET }} |