general setup
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
PROJECT_NAME=tibi_starter
|
||||
PROJECT_NAME=bkdf
|
||||
TIBI_PREFIX=tibi
|
||||
TIBI_NAMESPACE=tibi_starter
|
||||
TIBI_NAMESPACE=bkdf
|
||||
UID=100
|
||||
GID=101
|
||||
RELEASE_ORG_SLUG=webmakers-gmbh
|
||||
RELEASE_PROJECT_SLUG=tibi_starter
|
||||
START_SCRIPT=:ssr
|
||||
RELEASE_PROJECT_SLUG=bkdf
|
||||
#START_SCRIPT=:ssr
|
||||
@@ -56,9 +56,9 @@ jobs:
|
||||
- name: Initialize database
|
||||
uses: ./.github/actions/init-db
|
||||
with:
|
||||
TIBI_API_NAMESPACE: allkids_erfurt
|
||||
TIBI_API_NAMESPACE: tibi_starter
|
||||
TIBI_API_CONFIG_PATH: /repo/api/config.yml
|
||||
PROJECT_NAME: AllKids
|
||||
PROJECT_NAME: TibiStarter
|
||||
|
||||
- name: SERVICE RESTART
|
||||
uses: docker://docker
|
||||
@@ -278,6 +278,16 @@ jobs:
|
||||
run: |
|
||||
yarn build
|
||||
|
||||
- name: build docs
|
||||
env:
|
||||
FORCE_COLOR: "true"
|
||||
run: |
|
||||
node --version
|
||||
cd docs
|
||||
npm install -g yarn
|
||||
yarn install
|
||||
yarn docpress:build
|
||||
|
||||
- name: build ssr
|
||||
env:
|
||||
FORCE_COLOR: "true"
|
||||
@@ -290,10 +300,28 @@ jobs:
|
||||
run: |
|
||||
yarn build:legacy
|
||||
|
||||
- name: deploy
|
||||
#- name: deploy
|
||||
# if: github.ref == 'refs/heads/master'
|
||||
# env:
|
||||
# RSYNC_USER: "allkids_rsync_master"
|
||||
# RSYNC_PASS: ${{ secrets.rsync_master }}
|
||||
# run: |
|
||||
# scripts/deploy.sh ftp1.webmakers.de $RSYNC_USER $RSYNC_PASS
|
||||
|
||||
- name: deploy docs
|
||||
# only if branch is master
|
||||
if: github.ref == 'refs/heads/master'
|
||||
env:
|
||||
RSYNC_USER: "allkids_rsync_master"
|
||||
RSYNC_HOST: ftp1.webmakers.de
|
||||
RSYNC_PORT: 22222
|
||||
RSYNC_USER: webmakers_tibi_docs_rsync_master
|
||||
RSYNC_PASS: ${{ secrets.rsync_master }}
|
||||
run: |
|
||||
scripts/deploy.sh ftp1.webmakers.de $RSYNC_USER $RSYNC_PASS
|
||||
cd docs
|
||||
ls -la
|
||||
|
||||
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}:./ \
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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