check out own fork when running GH action (fixes #52)

This commit is contained in:
nanos 2023-06-15 11:12:18 +01:00
parent 9fec312b38
commit 12fbd0ed72

View file

@ -14,10 +14,7 @@ jobs:
- name: Checkout original repository
uses: actions/checkout@v3
with:
repository: nanos/FediFetcher
fetch-depth: 0
- name: Checkout latest release tag
run: git checkout $(git describe --tags)
- name: Set up Python
uses: actions/setup-python@v4
with:
@ -33,7 +30,7 @@ jobs:
path: artifacts
- name: Get Directory structure
run: ls -lR
- run: python find_posts.py --lock-hours=0 --access-token=${{ secrets.ACCESS_TOKEN }} -c=config.json
- run: python find_posts.py --lock-hours=0 --access-token=${{ secrets.ACCESS_TOKEN }} -c="./config.json"
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
@ -43,4 +40,4 @@ jobs:
- name: Checkout user's forked repository for keeping workflow alive
uses: actions/checkout@v3
- name: Keep workflow alive
uses: gautamkrishnar/keepalive-workflow@v1
uses: gautamkrishnar/keepalive-workflow@v1