mirror of
https://github.com/searxng/searxng.git
synced 2025-08-02 18:12:21 +02:00
Merge pull request #8 from return42/manage-script
Replace Makefile boilerplate by shell scripts
This commit is contained in:
commit
a7b9eca98a
21 changed files with 1066 additions and 1205 deletions
3
.github/workflows/data-update.yml
vendored
3
.github/workflows/data-update.yml
vendored
|
@ -40,8 +40,7 @@ jobs:
|
|||
env:
|
||||
FETCH_SCRIPT: ./searx_extra/update/${{ matrix.fetch }}
|
||||
run: |
|
||||
source local/py3/bin/activate
|
||||
$FETCH_SCRIPT
|
||||
V=1 manage pyenv.cmd python "$FETCH_SCRIPT"
|
||||
|
||||
- name: Create Pull Request
|
||||
id: cpr
|
||||
|
|
7
.github/workflows/integration.yml
vendored
7
.github/workflows/integration.yml
vendored
|
@ -59,7 +59,7 @@ jobs:
|
|||
- name: Install node dependencies
|
||||
run: make V=1 node.env
|
||||
- name: Build themes
|
||||
run: make V=1 themes
|
||||
run: make V=1 themes.all
|
||||
|
||||
documentation:
|
||||
name: Documentation
|
||||
|
@ -77,14 +77,15 @@ jobs:
|
|||
python-version: '3.9'
|
||||
architecture: 'x64'
|
||||
- name: Build documentation
|
||||
run: SEARX_DEBUG=1 make V=1 ci-gh-pages
|
||||
run: |
|
||||
make V=1 docs.clean docs.html
|
||||
- name: Deploy
|
||||
if: github.ref == 'refs/heads/master'
|
||||
uses: JamesIves/github-pages-deploy-action@3.7.1
|
||||
with:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
BRANCH: gh-pages
|
||||
FOLDER: build/gh-pages
|
||||
FOLDER: dist/docs
|
||||
CLEAN: true # Automatically remove deleted files from the deploy branch
|
||||
SINGLE_COMMIT: True
|
||||
COMMIT_MESSAGE: build from commit ${{ github.sha }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue