Skip to content

Commit 1441a2f

Browse files
committed
Remove old gh-pages content first
1 parent b4c5173 commit 1441a2f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/gh-pages.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ run-name: Building website and pushing to gh-pages branch
33
on: [push]
44

55
jobs:
6-
Generate-RDF-Build-Miravi:
6+
Deploy:
77
runs-on: ubuntu-latest
88
steps:
99
- name: Check out repository code
@@ -20,7 +20,9 @@ jobs:
2020
ref: gh-pages
2121
path: gh-pages
2222
- name: Move output to gh-pages
23-
run: mv output/* gh-pages/
23+
run: |
24+
rm -rf gh-pages/*
25+
mv output/* gh-pages/
2426
- uses: EndBug/add-and-commit@v9
2527
with:
2628
cwd: gh-pages

0 commit comments

Comments
 (0)