Skip to content

cron/weekly

cron/weekly #183

Workflow file for this run

name: cron/weekly
on:
workflow_dispatch:
schedule:
- cron: '10 7 * * *'
jobs:
cronjob:
runs-on: ubuntu-latest
steps:
- name: 🙏 Make Request
id: req
uses: fjogeleit/http-request-action@v1
with:
url: http://m3.devs.space/cron/weekly
method: GET
contentType: text/plain
timeout: 60000
- name: 🤲 Show Response
env:
RES_BODY: ${{ steps.req.outputs.response }}
RES_HEADERS: ${{ steps.req.outputs.headers }}
run: |
echo '### 📦 Response body' >> $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY
echo "$RES_BODY" >> $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY
echo '### 📋 Response headers:' >> $GITHUB_STEP_SUMMARY
echo " $RES_HEADERS" >> $GITHUB_STEP_SUMMARY