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
7
.github/workflows/get_context.yml
vendored
7
.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:
|
||||||
|
@ -43,4 +40,4 @@ jobs:
|
||||||
- name: Checkout user's forked repository for keeping workflow alive
|
- name: Checkout user's forked repository for keeping workflow alive
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Keep workflow alive
|
- name: Keep workflow alive
|
||||||
uses: gautamkrishnar/keepalive-workflow@v1
|
uses: gautamkrishnar/keepalive-workflow@v1
|
Loading…
Reference in a new issue