FediFetcher/.github/workflows/get_context.yml
Workflow config file is invalid. Please check your config file: yaml: line 5: mapping values are not allowed in this context
nanos d84c22898e
Update get_context.yml
increase frequncy
2023-03-06 15:29:54 +00:00

32 lines
941 B
YAML

name: getAllRepliesToKnownPots
on:
workflow_dispatch
schedule:
- cron: '*/15 * * * *'
jobs:
run:
runs-on: ubuntu-latest
environment: mastodon
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'pip' # caching pip dependencies
- run: pip install -r requirements.txt
- name: Download all workflow run artifacts
uses: dawidd6/action-download-artifact@v2
with:
name: artifacts
workflow: get_context.yml
if_no_artifact_found: warn
path: artifacts
- run: python get_context.py ${{ secrets.ACCESS_TOKEN }} ${{ vars.MASTODON_SERVER }} ${{ vars.REPLY_INTERVAL_IN_HOURS }} ${{ vars.HOME_TIMELINE_LENGTH }}
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: artifacts
path: |
artifacts