generated from cms/tibi-docs
Compare commits
150 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9c35707718 | |||
| 86c066f48a | |||
| 829468d538 | |||
| 5f00786003 | |||
| 0567147690 | |||
| 9b722b9c13 | |||
| 01a28b5e98 | |||
| 0acfcc63b3 | |||
| 0af187e51f | |||
| 8844a9f77d | |||
| 45e1104aa9 | |||
| 0f2411b0d2 | |||
| 3b63a366b9 | |||
| 2cf00896da | |||
| b1d84bc633 | |||
| f5526e7907 | |||
| dcfe6bd632 | |||
| 3f461c12d4 | |||
| 50e1af5f18 | |||
| 17917ddec5 | |||
| bb4a9a2c55 | |||
| 6a94866368 | |||
| fc612ad924 | |||
| 27ee7bbc83 | |||
| 9601a29db1 | |||
| 39a4fd938c | |||
| 7c793124a1 | |||
| fd5af432db | |||
| f85efb3c38 | |||
| e3a7f36892 | |||
| 63fa3c2846 | |||
| 86d8720c00 | |||
| 86d5449213 | |||
| e09d6eb2a9 | |||
| ff3f635277 | |||
| 4505435bf7 | |||
| a38ed26cd6 | |||
| f74dd92429 | |||
| 0e9b5baed7 | |||
| c1b4882e5b | |||
| baf4a4b7b2 | |||
| c0209910e2 | |||
| 99be954f5c | |||
| 296458a7cf | |||
| dfa8496c93 | |||
| 572d71d7dd | |||
| 859d7b0e2d | |||
| 9258759c01 | |||
| b3a74a985b | |||
| f67794c63b | |||
| 9d58febf4d | |||
| 92ca030e6c | |||
| b107392907 | |||
| 819452e15e | |||
| 7d2e708e65 | |||
| 75d4c88d47 | |||
| 850fb6ad1e | |||
| 2d68e756a7 | |||
| 48a5043de1 | |||
| 7d77440749 | |||
| 46c5b52de1 | |||
| 7dd5e7e99a | |||
| 26fc03cbd0 | |||
| 626cbbabb4 | |||
| e6e1baf808 | |||
| df1e5c03be | |||
| 5b4ea22da0 | |||
| e7c1de21bb | |||
| a5e1ede626 | |||
| 605ac82471 | |||
| 6c9fd6f64a | |||
| 18b3db7671 | |||
| fa1485d6ac | |||
| a91eb90c41 | |||
| f2c9b2bc40 | |||
| 3e01920db4 | |||
| df22a0da08 | |||
| ac526612df | |||
| 6aeb2c8778 | |||
| fa80939f6b | |||
| e976c694b8 | |||
| 0938113f88 | |||
| 1b8e5fed12 | |||
| 11062fc0fb | |||
| 5504c5595a | |||
| 61af2e2c8e | |||
| 6b735fed07 | |||
| 960625a018 | |||
| 1b54cf507e | |||
| 8e3abd56c1 | |||
| e4b6334d85 | |||
| 8d626450f6 | |||
| 4e283573bd | |||
| 223bbf0699 | |||
| 24144c692e | |||
| 35c1ed0dec | |||
| b6a4df9c37 | |||
| 536902cbbb | |||
| 97e67e0b58 | |||
| 0a200ad3c6 | |||
| d0c81857d4 | |||
| fb497d0e6f | |||
| 77affb9705 | |||
| f3a22c7543 | |||
| 9a4270e4dd | |||
| 8b955bdae6 | |||
| af8850dede | |||
| d44cbc1757 | |||
| 2a894d6645 | |||
| ce132cb146 | |||
| 1b44964f9c | |||
| 10eade80ae | |||
| e02ac8e1f7 | |||
| 190c83f4b0 | |||
| 2aaa02329f | |||
| 4e5a921711 | |||
| f2ddcb410b | |||
| 75269a3a30 | |||
| 82b9b6ec36 | |||
| 157e667227 | |||
| 769fd1296c | |||
| 8a6c025040 | |||
| 4d31133d99 | |||
| e51a485ebc | |||
| 948808ec4f | |||
| c8314798e5 | |||
| 19d7c231ae | |||
| 32295fecfa | |||
| d6e253d77e | |||
| 04595d7094 | |||
| 068c6f0ca1 | |||
| c8f8f8ca4d | |||
| 66314fcb92 | |||
| 44f7934217 | |||
| c9135d03cf | |||
| c29765dd09 | |||
| 9e6dc31811 | |||
| 0e1de15d7c | |||
| 383c1be382 | |||
| 8128f4f641 | |||
| bfa53f6b95 | |||
| c6d43a95fa | |||
| d4e21505ad | |||
| 897b9ae2cf | |||
| 90b4c95cd8 | |||
| 09a150f102 | |||
| 7ce16346e0 | |||
| f290e9d039 | |||
| 297658bab2 | |||
| 14b7979314 |
@@ -1,7 +1,8 @@
|
||||
PROJECT_NAME=tibi-docs
|
||||
PROJECT_NAME=fontis
|
||||
TIBI_PREFIX=tibi
|
||||
TIBI_NAMESPACE=tibi-docs
|
||||
TIBI_NAMESPACE=fontis_v2
|
||||
UID=100
|
||||
GID=101
|
||||
RELEASE_ORG_SLUG=webmakers-gmbh
|
||||
RELEASE_PROJECT_SLUG=tibi-docs
|
||||
RELEASE_PROJECT_SLUG=fontis
|
||||
START_SCRIPT=:ssr
|
||||
+1
-1
@@ -1 +1 @@
|
||||
.yarn/cache/* filter=lfs diff=lfs merge=lfs -text
|
||||
.yarn/cache/* filter=lfs diff=lfs merge=lfs -text
|
||||
@@ -1,10 +1,6 @@
|
||||
name: deploy to production
|
||||
|
||||
on: "push"
|
||||
# push:
|
||||
# branches:
|
||||
# - master
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
name: deploy
|
||||
@@ -17,40 +13,81 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
lfs: true
|
||||
submodules: true
|
||||
- run: |
|
||||
git fetch --force --tags
|
||||
|
||||
# setup node 18
|
||||
- name: setup node 18
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
# with:
|
||||
# node-version: 18
|
||||
# cache: yarn
|
||||
|
||||
- name: build docs
|
||||
- name: install dependencies
|
||||
env:
|
||||
FORCE_COLOR: "true"
|
||||
run: |
|
||||
node --version
|
||||
cd docs
|
||||
npm install -g yarn
|
||||
yarn install
|
||||
yarn docpress:build
|
||||
|
||||
- name: deploy docs
|
||||
# only if branch is master
|
||||
if: github.ref == 'refs/heads/master'
|
||||
env:
|
||||
RSYNC_HOST: ftp1.webmakers.de
|
||||
RSYNC_PORT: 22222
|
||||
RSYNC_USER: webmakers_tibi_docs_rsync_master
|
||||
RSYNC_PASS: ${{ secrets.rsync_master }}
|
||||
- name: modify config
|
||||
run: |
|
||||
cd docs
|
||||
ls -la
|
||||
sed -i 's#\(sentryEnvironment.*\)".*"#\1"${GITHUB_REF_NAME}"#g' frontend/src/config.ts
|
||||
sed -i 's#//\( sentry\\.init.*\)#\1#g' frontend/src/config.ts
|
||||
export $(cat .env | xargs)
|
||||
echo "PROJECT_RELEASE=${RELEASE_PROJECT_SLUG}.r`git rev-list HEAD --count`-`git describe --all --long | sed 's+/+-+'`" >> .env
|
||||
export $(cat .env | xargs)
|
||||
echo ______ .env ______
|
||||
cat .env
|
||||
echo
|
||||
sed -i 's#\(const release = \).*#\1"'${PROJECT_RELEASE}'"#g' api/hooks/config-client.js
|
||||
|
||||
rsync -rlcgD --perms -i -u -v --stats --progress \
|
||||
--delete \
|
||||
-e "sshpass -p ${RSYNC_PASS} ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p ${RSYNC_PORT}" \
|
||||
_docpress/ \
|
||||
${RSYNC_USER}@${RSYNC_HOST}:./ \
|
||||
# bash scripts/preload-meta.sh frontend/spa.html
|
||||
# bash scripts/preload-meta.sh frontend/spa.html > frontend/_spa.html
|
||||
# cp frontend/_spa.html frontend/spa.html
|
||||
|
||||
export stamp=`date +%s`
|
||||
sed -i s/__TIMESTAMP__/$stamp/g frontend/spa.html
|
||||
# sed -i s/__TIMESTAMP__/$stamp/g frontend/serviceworker.js
|
||||
# cat frontend/serviceworker.js
|
||||
# rm api/templates/spa.html
|
||||
# cp frontend/spa.html api/templates/spa.html
|
||||
echo ______ frontend/spa.html ______
|
||||
cat frontend/spa.html
|
||||
|
||||
- name: build
|
||||
env:
|
||||
FORCE_COLOR: "true"
|
||||
run: |
|
||||
yarn build
|
||||
|
||||
- name: build ssr
|
||||
env:
|
||||
FORCE_COLOR: "true"
|
||||
run: |
|
||||
yarn build:server
|
||||
|
||||
- name: build legacy
|
||||
env:
|
||||
FORCE_COLOR: "true"
|
||||
run: |
|
||||
yarn build:legacy
|
||||
|
||||
#- name: staging api test
|
||||
# if: github.ref == 'refs/heads/dev'
|
||||
# run: |
|
||||
# targetDir=/data/${GITHUB_REPOSITORY}/${GITHUB_REF_NAME}
|
||||
# mkdir -p targetDir
|
||||
# rsync -av api $targetDir/
|
||||
# mkdir -p $targetDir/frontend/dist
|
||||
# rsync -av frontend/dist/ $targetDir/frontend/dist/
|
||||
|
||||
#- name: staging frontend te
|
||||
# if: github.ref == 'refs/heads/dev'
|
||||
# run: |
|
||||
# docker compose -p ${GITHUB_REF_NAME}-${GITHUB_REPOSITORY_NAME}-${GITHUB_REPOSITORY_OWNER} up -d --build --remove-orphans
|
||||
|
||||
- name: deploy
|
||||
if: github.ref == 'refs/heads/tibi-restructure'
|
||||
env:
|
||||
RSYNC_USER: "fontis_rsync_restructure"
|
||||
RSYNC_PASS: ${{ secrets.RSYNC_RESTRUCTURE }}
|
||||
run: |
|
||||
scripts/deploy.sh ftp1.webmakers.de $RSYNC_USER $RSYNC_PASS
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ docs/.yarn/*
|
||||
!docs/.yarn/versions
|
||||
api/hooks/lib/app.server*
|
||||
node_modules
|
||||
media
|
||||
/media
|
||||
tmp
|
||||
_temp
|
||||
frontend/dist
|
||||
|
||||
Vendored
+1
-1
@@ -18,7 +18,7 @@
|
||||
{
|
||||
"match": "/api/.*(\\.ya?ml|js|env)$",
|
||||
"isAsync": false,
|
||||
"cmd": "docker compose -p tibi-docs restart tibiserver",
|
||||
"cmd": "docker compose -f ${workspaceRoot}/docker-compose-local.yml restart tibiserver",
|
||||
"event": "onFileChange"
|
||||
}
|
||||
],
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
.yarn/cache/@babel-plugin-transform-nullish-coalescing-operator-npm-7.22.5-f071b4a3c0-e6a059169d.zip
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user