更新图像处理任务的日志记录,修改未知状态的警告信息,调整输出格式为.webp以提高兼容性。 #647
This file contains hidden or 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
| name: Deploy Bot | |
| on: | |
| push: | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: rsync deployments | |
| uses: burnett01/rsync-deployments@5.2 | |
| with: | |
| switches: -avzr | |
| path: . | |
| remote_path: ${{ secrets.DEPLOY_PATH }} | |
| remote_host: ${{ secrets.DEPLOY_HOST }} | |
| remote_user: ${{ secrets.DEPLOY_USER }} | |
| remote_key: ${{ secrets.DEPLOY_KEY }} | |
| - name: restart service | |
| uses: appleboy/ssh-action@master | |
| with: | |
| host: ${{ secrets.DEPLOY_HOST }} | |
| username: ${{ secrets.DEPLOY_USER }} | |
| key: ${{ secrets.DEPLOY_KEY }} | |
| script: | | |
| # systemctl --user restart goalkeepr_worker | |
| # systemctl --user restart goalkeepr | |
| cd /data | |
| # at lx | |
| #podman-compose down gk | |
| #podman-compose up -d gk | |
| # at eu | |
| docker compose build gk | |
| docker compose up -d gk |