CI / test (3.11) (pull_request) Successful in 43s
CI / lint (pull_request) Successful in 49s
CI / test (3.12) (pull_request) Successful in 46s
CI / test (3.13) (pull_request) Successful in 47s
CI / test-with-beamline-plugins (pxiii_bec) (pull_request) Successful in 1m0s
CI / test-with-coverage (pull_request) Successful in 1m21s
CI / coverage-analysis (pull_request) Successful in 9s
CI / test-with-beamline-plugins (pxi_bec) (pull_request) Successful in 1m49s
CI / test-with-beamline-plugins (pxii_bec) (pull_request) Successful in 2m55s
Docs build and publish / docker (push) Successful in 10s
Build and Publish / release (push) Successful in 8s
CI / lint (push) Successful in 32s
CI / test-with-coverage (push) Successful in 1m1s
CI / coverage-analysis (push) Skipped
CI / test-with-beamline-plugins (pxiii_bec) (push) Successful in 1m8s
CI / test (3.13) (push) Successful in 2m23s
CI / test (3.11) (push) Successful in 2m28s
CI / test-with-beamline-plugins (pxii_bec) (push) Successful in 2m42s
CI / test-with-beamline-plugins (pxi_bec) (push) Successful in 3m19s
CI / test (3.12) (push) Successful in 4m14s
- Move the readme cheatsheet content to a docs page
34 lines
850 B
YAML
34 lines
850 B
YAML
name: Docs build and publish
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
docker:
|
|
runs-on: ubuntu-latest-intranet
|
|
container:
|
|
image: gitea.psi.ch/images/alpine-zensical
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Build page
|
|
run: /opt/python-env/bin/zensical build --clean
|
|
|
|
- name: Configure Git
|
|
run: |
|
|
git config --global user.name "Gitea Actions"
|
|
git config --global user.email "actions@gitea.local"
|
|
|
|
- name: Push to gitea-pages branch
|
|
run: |
|
|
git checkout --orphan gitea-pages
|
|
git reset --hard
|
|
mv site/* .
|
|
git add .
|
|
git commit -m "Update site - $(date)"
|
|
git push -f https://${{ secrets.GITHUB_TOKEN }}@gitea.psi.ch/${{ github.repository }}.git gitea-pages
|