This commit is contained in:
Fedor Katurov 2022-11-02 11:58:45 +06:00
commit 5104c2518b
34 changed files with 6844 additions and 0 deletions

29
.drone.gh-pages.yml Normal file
View file

@ -0,0 +1,29 @@
kind: pipeline
name: build
type: docker
platform:
os: linux
arch: amd64
steps:
- name: build
image: node:16
commands:
- yarn
- yarn generate
- rm -rf ./docs
- mv ./.output/public ./docs
- touch ./docs/.nojekyll
- name: publish
image: plugins/gh-pages
settings:
target_branch: gh-pages
ssh_key:
from_secret: global_ssh_key
username:
from_secret: github_username
password:
from_secret: global_github_token
ssh_key:
from_secret: global_ssh_key