Compare commits

..

2 Commits

Author SHA1 Message Date
b9f90492f3
github publish
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is failing
2024-09-18 19:28:21 +03:00
4d29203cf8
telegram 2024-09-18 19:10:42 +03:00
2 changed files with 14 additions and 2 deletions

View File

@ -18,8 +18,20 @@ steps:
# https://hub.docker.com/r/library/docker # https://hub.docker.com/r/library/docker
pull: always pull: always
image: docker.struchkov.dev/quartz:develop image: docker.struchkov.dev/quartz:develop
environment:
GITHUB_SSH:
from_secret: GITHUB_SSH
commands: commands:
- eval $(ssh-agent -s)
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- echo "$GITHUB_SSH" >> ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
- ssh-keyscan -p 222 github.com >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
- git clone https://git.struchkov.dev/upagge/digital-garden.git /usr/src/app/content - git clone https://git.struchkov.dev/upagge/digital-garden.git /usr/src/app/content
- git remote add github git@github.com:uPagge/digital-garden.git
- git push github
- cd /usr/src/app - cd /usr/src/app
- cp ./content/.quartz/quartz.config.ts . - cp ./content/.quartz/quartz.config.ts .
- cp ./content/.quartz/quartz.layout.ts . - cp ./content/.quartz/quartz.layout.ts .
@ -53,6 +65,6 @@ steps:
# drone sign --save upagge/digital-garden # drone sign --save upagge/digital-garden
--- ---
kind: signature kind: signature
hmac: 5dcd0b7da6722aa0aba201e6477a4f142cb372fd0810ca2cc911f409bdbe867d hmac: 810c6ba459d462fb8a9d63720d0b95523036ecfe7e4dfe431529833b5757a41c
... ...

View File

@ -21,7 +21,7 @@ export const sharedPageComponents: SharedLayout = {
links: { links: {
"About Me": "https://mark.struchkov.dev/cv/", "About Me": "https://mark.struchkov.dev/cv/",
"B.log": "https://struchkov.dev", "B.log": "https://struchkov.dev",
"CV": "https://mark.struchkov.dev/cv/?utm_source=gardenru&utm_medium=organic&utm_campaign=static", "Telegram": "https://t.me/struchkov_dev",
}, },
}), }),
} }