From c593ab3b7bc8771a69f160b6ec5bb0214701f365 Mon Sep 17 00:00:00 2001 From: Michael Thomas Date: Mon, 6 Mar 2023 15:20:41 +0000 Subject: [PATCH] Use environment variable --- .github/workflows/get_context.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/get_context.yml b/.github/workflows/get_context.yml index 62cf636..f105d22 100644 --- a/.github/workflows/get_context.yml +++ b/.github/workflows/get_context.yml @@ -1,4 +1,4 @@ -name: getContext +name: getAllRepliesToKnownPots on: workflow_dispatch @@ -22,9 +22,7 @@ jobs: workflow: get_context.yml if_no_artifact_found: warn path: artifacts - - name: Display structure of downloaded files - run: ls -R - - run: python get_context.py ${{ secrets.ACCESS_TOKEN }} mstdn.thms.uk 48 400 + - 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: