mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 18:10:37 +02:00
Switch APIDocs deployment from Tuxfamily to Hetzner
Also update the workflow for building APIDocs
This commit is contained in:
parent
1917ad030d
commit
a7245a9dbc
1 changed files with 10 additions and 9 deletions
19
.github/workflows/master_deploy_apidocs.yml
vendored
19
.github/workflows/master_deploy_apidocs.yml
vendored
|
@ -1,5 +1,5 @@
|
||||||
# Copyright 2022 Overte e.V.
|
# Copyright 2022-2023 Overte e.V.
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
name: Master API-docs CI Build and Deploy
|
name: Master API-docs CI Build and Deploy
|
||||||
|
|
||||||
|
@ -10,11 +10,11 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_site:
|
build_site:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
|
|
||||||
name: Build and deploy API-docs
|
name: Build and deploy API-docs
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
working-directory: tools/jsdoc
|
working-directory: tools/jsdoc
|
||||||
|
@ -31,13 +31,14 @@ jobs:
|
||||||
jsdoc root.js -r api-mainpage.md -c config.json -d output
|
jsdoc root.js -r api-mainpage.md -c config.json -d output
|
||||||
|
|
||||||
- name: Deploy API-docs
|
- name: Deploy API-docs
|
||||||
uses: SamKirkland/FTP-Deploy-Action@4.3.0
|
uses: SamKirkland/FTP-Deploy-Action@v4.3.4
|
||||||
with:
|
with:
|
||||||
server: ftp.tuxfamily.org
|
server: www531.your-server.de
|
||||||
username: ${{ secrets.GHA_JSDOC_FTP_USER }}
|
protocol: ftps
|
||||||
password: ${{ secrets.GHA_JSDOC_FTP_PASS }}
|
username: ${{ secrets.GHA_HETZNER_APIDOCS_FTP_USER }}
|
||||||
|
password: ${{ secrets.GHA_HETZNER_APIDOCS_FTP_PASS }}
|
||||||
local-dir: ./tools/jsdoc/output/
|
local-dir: ./tools/jsdoc/output/
|
||||||
server-dir: overte/apidocs.overte.org-web/htdocs/
|
server-dir: /
|
||||||
exclude: |
|
exclude: |
|
||||||
**/staging/**
|
**/staging/**
|
||||||
.htaccess
|
.htaccess
|
||||||
|
|
Loading…
Reference in a new issue