eliminated mkdocs-exporter, added build-pipeline for gitea
Some checks failed
ci / deploy (push) Failing after 1m2s
Some checks failed
ci / deploy (push) Failing after 1m2s
This commit is contained in:
parent
8d5b969fbc
commit
64afe0e348
3 changed files with 13 additions and 24 deletions
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
@ -27,10 +27,18 @@ jobs:
|
|||
path: .cache
|
||||
restore-keys: |
|
||||
mkdocs-material-
|
||||
- run: sudo apt-get install pngquant
|
||||
- run: apt-get update && apt-get install pngquant rsync
|
||||
- run: pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
|
||||
- run: pip install -r requirements.txt
|
||||
- run: playwright install chromium --with-deps
|
||||
- run: mkdocs gh-deploy --force
|
||||
- run: mkdocs build
|
||||
- name: Create private key
|
||||
run: |
|
||||
echo "${{ secrets.ACT_RUNNER_KEY }}" > /tmp/act_runner_key
|
||||
chmod 600 /tmp/act_runner_key
|
||||
- name: rsync public directory
|
||||
run: |
|
||||
/usr/bin/rsync -avz --delete -e "ssh -i /tmp/act_runner_key -o StrictHostKeyChecking=no" ${{ gitea.workspace }}/site/* root@vps03.hadan-it.com:/opt/npm/webspace/stephan.hadan.de/
|
||||
- run: echo "This job's status is ${{ job.status }}."
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue