Skip to content

Commit

Permalink
Revert "fix archiving"
Browse files Browse the repository at this point in the history
This reverts commit 1f23a17.
  • Loading branch information
apoorvalal committed Oct 11, 2023
1 parent 96b6b80 commit 2faf34e
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 68 deletions.
27 changes: 2 additions & 25 deletions .github/workflows/post.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: "GH Arxiv Posterbot"
on:
workflow_dispatch: {}
schedule:
- cron: "0 0,13,15,17,19,21,23 * * *"
- cron: "0 0,13,19 * * *"
- cron: "0 0,13,16,19,22 * * *"

jobs:
post:
Expand All @@ -17,29 +16,7 @@ jobs:
cache: 'pip' # caching pip dependencies
- run: pip install -r requirements.txt
- name: scrape and run in post mode
run: python3 paperbot.py post
env:
BSKYBOT: ${{ secrets.BSKYBOT }}
BSKYPWD: ${{ secrets.BSKYPWD }}
- name: Commit and push
uses: EndBug/add-and-commit@v9
with:
add: "."
push: true
default_author: github_actions

update:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.9'
cache: 'pip' # caching pip dependencies
- run: pip install -r requirements.txt
- name: scrape and run in update mode
run: python3 paperbot.py update
run: python3 paperbot.py
env:
BSKYBOT: ${{ secrets.BSKYBOT }}
BSKYPWD: ${{ secrets.BSKYPWD }}
Expand Down
Loading

0 comments on commit 2faf34e

Please sign in to comment.