diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2021-01-29 11:41:48 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-01-29 11:41:48 +0100 |
commit | 40d2a116e1e5a24027bba54de530fa9d4700cef3 (patch) | |
tree | 034f2ea16af385e5f72dca864d7d486753005051 /.github/workflows | |
parent | 71d66979c2935312e0aed7fc7c3cf6199fbe88a2 (diff) | |
download | searxng-40d2a116e1e5a24027bba54de530fa9d4700cef3.tar.gz searxng-40d2a116e1e5a24027bba54de530fa9d4700cef3.zip |
[fix] Makefile target gh-pages & flatten history of branch gh.pages
1. This patch fixes error:
rm -rf gh-pages/
make V=1 gh-pages
make[1]: Leaving directory '/800GBPCIex4/share/searx'
[ -d "gh-pages/.git" ] || git clone gh-pages
fatal: repository 'gh-pages' does not exist
2. The gh-page build has been moved to ./build/gh-pages this also affects
'travis-gh-pages'
3. The gh-pages commit messages now includes a ref to the repository and commit
4. Since a gh-pages history has only the drawback that the reposetory grows
fast, this patch also flattens the history:
cd build/gh-pages/; git log --oneline
bash: cd: build/gh-pages/: Datei oder Verzeichnis nicht gefunden
026126be (HEAD -> gh-pages, origin/gh-pages) make gh-pages: from https://github.com/return42/searx.git@71d66979c2935312e0aed7fc7c3cf6199fbe88a2
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/integration.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 4f3b8e9c8..7cbf77a4b 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -80,7 +80,7 @@ jobs: with: GITHUB_TOKEN: ${{ github.token }} BRANCH: gh-pages - FOLDER: gh-pages + FOLDER: build/gh-pages CLEAN: true # Automatically remove deleted files from the deploy branch dockers: |