Revert "Disable CI - built via botserver-bundle"
This reverts commit db626c18c3.
This commit is contained in:
parent
db626c18c3
commit
ed36904c49
1 changed files with 31 additions and 0 deletions
31
.forgejo/workflows/botbook.yaml
Normal file
31
.forgejo/workflows/botbook.yaml
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
name: GBCI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
pull_request:
|
||||
branches: ["main"]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: gbo
|
||||
|
||||
steps:
|
||||
- name: Disable SSL verification (temporary)
|
||||
run: git config --global http.sslVerify false
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install mdBook
|
||||
run: |
|
||||
if ! command -v mdbook &> /dev/null; then
|
||||
cargo install mdbook
|
||||
fi
|
||||
|
||||
- name: Build documentation
|
||||
run: mdbook build
|
||||
|
||||
- name: Deploy documentation
|
||||
run: |
|
||||
sudo cp -r ./book/* /opt/gbo/tenants/pragmatismo/proxy/data/websites/docs.pragmatismo.com.br/
|
||||
sudo chown -R www-data:www-data /opt/gbo/tenants/pragmatismo/proxy/data/websites/docs.pragmatismo.com.br/
|
||||
Loading…
Add table
Reference in a new issue