Compare commits

...

16 Commits
master ... dev

Author SHA1 Message Date
fanxb
a6a62f71f8 temp 2022-09-24 15:40:42 +08:00
fanxb
41c4a6717d temp 2022-09-24 15:39:12 +08:00
fanxb
1bacfafd67 temp 2022-09-24 15:37:38 +08:00
fanxb
e262980f7c temp 2022-09-24 15:36:40 +08:00
fanxb
47c51d0671 temp 2022-09-24 15:31:03 +08:00
fanxb
8d2429044c temp 2022-09-24 15:22:22 +08:00
fanxb
3a43d5d122 temp 2022-09-24 15:21:19 +08:00
fanxb
e0a97e9b7e temp 2022-09-24 15:19:26 +08:00
fanxb
5d5a1924ff temp 2022-09-24 15:11:45 +08:00
fanxb
e1311e1b76 temp 2022-09-24 15:11:33 +08:00
fanxb
1266d75657 temp 2022-09-24 15:10:11 +08:00
fanxb
59a9c32448 temp 2022-09-24 15:04:34 +08:00
fanxb
be47579f6e temp 2022-09-24 14:57:15 +08:00
fanxb
35982442a5 temp 2022-09-24 14:55:52 +08:00
fanxb
9f58d938e4 temp 2022-09-24 14:54:44 +08:00
fanxb
c7ff82108e temp 2022-09-24 14:25:31 +08:00

View File

@ -8,20 +8,27 @@ clone:
steps:
- name: pull
image: bitnami/git
# volumes:
# - name: app
# path: /app
# - name: ssh
# path: ~/.ssh
volumes:
- name: ssh
path: /app/.ssh
commands:
- pwd
- ls -l ./
# - cd /app/blogPublish
# - git pull
# - cd /app/blogPublish/source/_posts/technology-note
# - git pull
# - name: package
# image: node:16-bullseye
- cd /app/.ssh
- eval $(ssh-agent)
- ssh-add id_rsa
- cd ../
- mkdir ~/.ssh && ssh-keyscan -p 222 -t rsa gitea.fleyx.com >> ~/.ssh/known_hosts
- sleep 2001
- git clone --depth 1 ssh://git@gitea.fleyx.com:222/fanxb/BlogGenerate.git
- cd BlogGenerate/source/_posts
- git clone --depth 1 ssh://git@gitea.fleyx.com:222/fanxb/technology-note.git
- sleep 100
- ls -l
# - name: package
# image: node:16-bullseye
environment:
privateKey:
from_secret: privateSsh
# volumes:
# - name: app
# path: /app
@ -42,4 +49,11 @@ steps:
# include: [ "app.jar", "app.jar.md5" ]
# script:
# - cd ~/packages
# - md5sum -c app.jar.md5
# - md5sum -c app.jar.md5
volumes:
- name: ssh
host:
path: /root/.ssh
- name: npmRep
host:
path: /root/npmRep