mirror of
https://github.com/muerwre/muerwre.github.io.git
synced 2025-04-25 02:46:39 +07:00
initial
This commit is contained in:
commit
5104c2518b
34 changed files with 6844 additions and 0 deletions
29
.drone.gh-pages.yml
Normal file
29
.drone.gh-pages.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue