check out own fork when running GH action (fixes #52)
This commit is contained in:
parent
9fec312b38
commit
12fbd0ed72
1 changed files with 2 additions and 5 deletions
5
.github/workflows/get_context.yml
vendored
5
.github/workflows/get_context.yml
vendored
|
@ -14,10 +14,7 @@ jobs:
|
||||||
- name: Checkout original repository
|
- name: Checkout original repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: nanos/FediFetcher
|
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Checkout latest release tag
|
|
||||||
run: git checkout $(git describe --tags)
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
|
@ -33,7 +30,7 @@ jobs:
|
||||||
path: artifacts
|
path: artifacts
|
||||||
- name: Get Directory structure
|
- name: Get Directory structure
|
||||||
run: ls -lR
|
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
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue