diff --git a/.gitea/actions/vk-notify/action.yaml b/.gitea/actions/vk-notify/action.yaml index b3aea20..8cd7372 100644 --- a/.gitea/actions/vk-notify/action.yaml +++ b/.gitea/actions/vk-notify/action.yaml @@ -23,7 +23,7 @@ runs: if [ -z "${{ inputs.to }}" ] && [ -n "${VK_TEAMS_CHAT_ID}" ]; then echo "to=${VK_TEAMS_CHAT_ID}" >> $GITHUB_ENV fi - + - name: Set icon id: icon shell: bash @@ -39,8 +39,8 @@ runs: - name: Notify VK Teams uses: dosymep/vk-teams-action@v1.0.0 with: - token: ${{ secrets.VK_TEAMS_BOT_TOKEN }} - to: ${{ secrets.VK_TEAMS_CHAT_ID }} + token: ${{ env.token }} + to: ${{ env.to }} format: MarkdownV2 message: | *${{ github.repository }}* \- \[${{ inputs.name }}\]\(${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_number }}\) \