diff --git a/.github/workflows/pd.yml b/.github/workflows/pd.yml index 0d63fc1ec..68b13b486 100644 --- a/.github/workflows/pd.yml +++ b/.github/workflows/pd.yml @@ -119,13 +119,13 @@ jobs: CHAT_ID=$( echo ${{ secrets.T1_BACKEND_REPORT_ENDPOINT_DATA }} | cut -d';' -f2 ) TOPIC_ID=$( echo ${{ secrets.T1_BACKEND_REPORT_ENDPOINT_DATA }} | cut -d';' -f3 ) # Send information first - curl -s -X POST "https://api.telegram.org/bot$BOT_TOKEN/sendMessage" \ + nix run nixpkgs#curl -- -s -X POST "https://api.telegram.org/bot$BOT_TOKEN/sendMessage" \ -d "chat_id=$CHAT_ID" \ -d "message_thread_id=$TOPIC_ID" \ -d "text=$MESSAGE" # Then the reports - curl -X POST "https://api.telegram.org/bot$BOT_TOKEN/sendMediaGroup" \ + nix run nixpkgs#curl -- -X POST "https://api.telegram.org/bot$BOT_TOKEN/sendMediaGroup" \ -F "chat_id=$CHAT_ID" \ -F "message_thread_id=$TOPIC_ID" \ ${DOCUMENTS[@]} \