Skip to content

[ImgBot] Optimize images (#111) #52

[ImgBot] Optimize images (#111)

[ImgBot] Optimize images (#111) #52

Workflow file for this run

name: CI
on:
push:
branches: [ "master" ]
paths-ignore:
- 'CONTRIBUTORS.md'
- 'README.md'
- 'LICENSE'
- '.github/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
# 切换分支
- name: Checkout
uses: actions/checkout@master
# # 下载 git submodule
# - uses: srt32/git-actions@v0.0.3
# with:
# args: git submodule update --init --recursive
# Deploy
- name: Deploy to Server
uses: easingthemes/ssh-deploy@v4.1.10
env:
SSH_PRIVATE_KEY: ${{ secrets.ACCESS_TOKEN }}
ARGS: "-avzr --delete"
SOURCE: "docs/"
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
REMOTE_USER: ${{ secrets.REMOTE_USER }}
TARGET: ${{ secrets.TARGET }}