Use environment variable

This commit is contained in:
Michael Thomas 2023-03-06 15:20:41 +00:00
parent cf45b71946
commit c593ab3b7b

View file

@ -1,4 +1,4 @@
name: getContext name: getAllRepliesToKnownPots
on: on:
workflow_dispatch workflow_dispatch
@ -22,9 +22,7 @@ jobs:
workflow: get_context.yml workflow: get_context.yml
if_no_artifact_found: warn if_no_artifact_found: warn
path: artifacts path: artifacts
- name: Display structure of downloaded files - run: python get_context.py ${{ secrets.ACCESS_TOKEN }} ${{ vars.MASTODON_SERVER }} ${{ vars.REPLY_INTERVAL_IN_HOURS }} ${{ vars.HOME_TIMELINE_LENGTH }}
run: ls -R
- run: python get_context.py ${{ secrets.ACCESS_TOKEN }} mstdn.thms.uk 48 400
- name: Upload artifacts - name: Upload artifacts
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with: