Update .gitea/workflows/deploy.yml
Some checks failed
Build and deploy docs / deploy (push) Failing after 0s
Some checks failed
Build and deploy docs / deploy (push) Failing after 0s
This commit is contained in:
@@ -8,6 +8,12 @@ jobs:
|
|||||||
deploy:
|
deploy:
|
||||||
runs-on: docs-runner # must match the label of your registered act_runner
|
runs-on: docs-runner # must match the label of your registered act_runner
|
||||||
steps:
|
steps:
|
||||||
|
- name: Load environment
|
||||||
|
run: |
|
||||||
|
set -a
|
||||||
|
source .env
|
||||||
|
set +a
|
||||||
|
echo "BAL_DOCS_DEPLOY_DIR=$BAL_DOCS_DEPLOY_DIR" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
run: |
|
run: |
|
||||||
@@ -27,4 +33,4 @@ jobs:
|
|||||||
run: mkdocs build --strict
|
run: mkdocs build --strict
|
||||||
|
|
||||||
- name: Publish
|
- name: Publish
|
||||||
run: rsync -a --delete site/ /var/www/bal-docs/
|
run: rsync -a --delete site/ $BAL_DOCS_DEPLOY_DIR
|
||||||
|
|||||||
Reference in New Issue
Block a user