Skip to content

Commit d7d4255

Browse files
committed
Remove unneded branch
1 parent 1188eab commit d7d4255

File tree

2 files changed

+4
-15
lines changed

2 files changed

+4
-15
lines changed

.github/workflows/render.yaml

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ jobs:
3232
url: ${{ steps.deployment.outputs.page_url }}
3333
steps:
3434
- uses: actions/checkout@v4
35-
with:
36-
ref: data
3735
- name: Set up Python 3.9
3836
uses: actions/setup-python@v5
3937
with:
@@ -47,12 +45,6 @@ jobs:
4745
CTATOK: ${{ secrets.CTATOK }}
4846
run: |
4947
python get_queue.py
50-
- name: Commit and Push Changes
51-
id: commit-and-push
52-
uses: stefanzweifel/git-auto-commit-action@v5
53-
with:
54-
commit_message: 'New data harvest'
55-
file_pattern: 'queue.csv'
5648
- uses: r-lib/actions/setup-r@v2
5749
- uses: r-lib/actions/setup-pandoc@v2
5850
- name: Install rmarkdown
@@ -63,17 +55,13 @@ jobs:
6355
run: Rscript -e 'install.packages("DT")'
6456
- name: Render README
6557
run: Rscript -e 'rmarkdown::render("index.Rmd")'
66-
- name: Commit results
67-
run: |
68-
git commit index.html -m 'Re-build index.html' || echo "No changes to commit"
69-
git push origin || echo "No changes to commit"
7058
- name: Setup Pages
71-
uses: actions/configure-pages@v3
59+
uses: actions/configure-pages@v4
7260
- name: Upload artifact
73-
uses: actions/upload-pages-artifact@v2
61+
uses: actions/upload-pages-artifact@v3
7462
with:
7563
# Upload entire repository
7664
path: '.'
7765
- name: Deploy to GitHub Pages
7866
id: deployment
79-
uses: actions/deploy-pages@v2
67+
uses: actions/deploy-pages@v4

get_queue.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
with open("queue.csv", "w") as f:
2929
writer = csv.writer(f)
3030
writer.writerow(['tag','updated','title','publisher','rdm_id','request'])
31+
print(f'Writing {len(completed)} rows to queue.csv')
3132
for c in completed:
3233
writer.writerow(c)
3334

0 commit comments

Comments
 (0)