Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

πŸ‘· Update CI build of docs site, with --fetch-depth

Alicia Sykesaed7fca150fb
diff --git a/.github/workflows/update-docs-site.yml b/.github/workflows/update-docs-site.yml
index 4ee484d6..c7f62a84 100644
--- a/.github/workflows/update-docs-site.yml
+++ b/.github/workflows/update-docs-site.yml
@@ -36,6 +36,7 @@ jobs:
with:
ref: 'WEBSITE/docs-site-source'
path: 'website-docs'
+ fetch-depth: 0
token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
- name: Install Python 🐍
@@ -67,6 +68,7 @@ jobs:
git config --local user.name "Liss-Bot"
git add docs
git commit -m "Update documentation" || echo "No changes to commit"
+ git pull --rebase || (git rebase --abort && exit 1)
git push
env:
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}