From d0bf9f621b5e5535387d26a8b74a54bd36ca5a41 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Fri, 24 Apr 2020 16:01:05 +0800 Subject: [PATCH] add github.ref example Signed-off-by: Bo-Yi Wu --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c62cb0b..01f9713 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,9 @@ jobs: with: to: ${{ secrets.TELEGRAM_TO }} token: ${{ secrets.TELEGRAM_TOKEN }} - message: The ${{ github.event_name }} event triggered second step. + message: | + The ${{ github.event_name }} event triggered second step. + show the github varable: ${{ github.ref }} - name: send default message uses: appleboy/telegram-action@master