Files
gotify/.github/workflows/update.yml
fghwett bd5614c4e6
All checks were successful
代码更新通知 / update-server (push) Successful in 2s
从密钥读取配置
2024-12-18 16:39:33 +08:00

24 lines
664 B
YAML

name: '代码更新通知'
on:
push:
jobs:
update-server:
runs-on: home-lab
steps:
- name: 输出当前目录环境
run: pwd && ls -ahl
- name: 发送通知
id: use-go-action
uses: https://git.aweoo.com/action/gotify@latest
with:
url: ${{ secrets.url }}
token: ${{ secrets.token }}
title: GotifyAction版本更新
msgText: ${{ vars.msgText }}
- name: 打印上一步的输出
run: echo 'output time is ${{ steps.use-go-action.outputs.time }}'
- name: 错误处理
if: ${{ failure() }}
run: |
echo '出错了 你个笨蛋'