Skip to content

Commit bfb0d72

Browse files
Update main.yml
1 parent 58f3fb0 commit bfb0d72

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/main.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,8 @@ jobs:
8080
8181
- name: Deploy to gh-pages branch
8282
run: |
83-
tree
84-
8583
find neoteroi -mindepth 1 ! -name '.git' ! -name 'CNAME' ! -name 'README.md' ! -path 'neoteroi/.git/*' -exec rm -rf {} +
86-
cp -r site/* neoteroi/
87-
rm -rf site
84+
cp -r site/site/* neoteroi/
8885
8986
cd neoteroi
9087
git config user.name "${GITHUB_ACTOR}"
@@ -93,7 +90,7 @@ jobs:
9390
git add .
9491
git commit -m "Deploy documentation on $(date -u '+%Y-%m-%d %H:%M:%S UTC')"
9592
96-
git checkout -b test
97-
git push origin test --force
93+
git checkout -b test # TODO: remove
94+
git push origin test
9895
9996
echo "Published to test"

0 commit comments

Comments
 (0)