Skip to content

Commit 13d07b1

Browse files
committed
tried to force delete file
1 parent 2faeafa commit 13d07b1

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/getbadge.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ jobs:
1818
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token.
1919
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
2020

21+
- name: Add bot user
22+
run: |
23+
git config --local user.email "[email protected]"
24+
git config --local user.name "[bot]"
25+
2126
- name: Set up Python 3.7
2227
uses: actions/setup-python@v2
2328
with:
@@ -29,16 +34,13 @@ jobs:
2934
- name: Get info
3035
run: |
3136
cd assets/
37+
rm ${{github.workspace}}/assets/test.md
38+
git add .
3239
wget "https://dataverse.no/api/info/metrics/filedownloads?parentAlias=ntnu"
3340
ls -haltr
3441
python generate_badge.py
3542
ls -haltr
3643
37-
- name: Add bot user
38-
run: |
39-
git config --local user.email "[email protected]"
40-
git config --local user.name "[bot]"
41-
4244
- name: Commit update
4345
run: |
4446
git status

0 commit comments

Comments
 (0)