gitea files deployment
1
.gitignore
vendored
@ -1,4 +1,3 @@
|
||||
node_modules
|
||||
key.json
|
||||
yarn.lock
|
||||
package-lock.json
|
BIN
custom/public/img/avatar_default.png
Normal file
After Width: | Height: | Size: 8.3 KiB |
BIN
custom/public/img/favicon.png
Normal file
After Width: | Height: | Size: 8.3 KiB |
3
custom/public/img/gitea-safari.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256">
|
||||
<path fill-rule="evenodd" d="M109.361988,256 L106.667407,227.257798 C110.191106,223.184708 117.322744,219.74283 127.325864,215.581279 C146.406502,206.543176 162.582118,193.990785 167.720639,163.628136 L170.439166,163.628136 L170.439166,152.84981 L165.948198,152.84981 L165.948198,148.358841 C176.423633,145.982981 184.12583,136.815923 183.912073,125.903996 C184.12583,115.070061 177.478483,106.181659 167.744585,102.550958 L167.744585,80.9943064 L164.15181,80.0961126 L164.15181,74.7069499 L162.355422,72.9105623 L161.457229,28.0008724 L159.660841,28.0008724 L157.864453,28.0008724 L156.96626,72.9105623 L155.169872,74.7069499 L155.169872,80.0961126 L151.577097,80.9943064 L151.577097,102.550958 C142.056955,106.174514 135.409608,115.066489 135.409608,125.903996 C135.409608,136.812351 143.111806,145.979409 153.373484,148.358841 L153.373484,152.84981 L148.882515,152.84981 L148.882515,163.628136 L151.544633,163.628136 C150.768799,167.011892 149.877601,170.030576 148.796657,172.765689 C144.386418,183.924922 135.021228,190.36373 119.24212,197.617403 C114.741362,199.476371 110.322898,201.66188 105.769213,203.90476 L103.972825,143.725775 L107.565601,143.725775 L107.565601,132.94745 L103.074632,132.94745 L103.074632,128.456481 C113.550067,126.080621 121.252264,116.913563 121.038508,106.001636 C121.252264,95.1677005 114.604917,86.2792982 104.871019,82.648597 L104.871019,61.0919458 L101.278244,60.193752 L101.278244,54.8045892 L99.4818564,53.0082016 L98.5836626,8.09851173 L96.787275,8.09851173 L94.9908875,8.09851173 L94.0926937,53.0082016 L92.2963061,54.8045892 L92.2963061,60.193752 L88.7035309,61.0919458 L88.7035309,82.648597 C79.1833896,86.2721532 72.5360425,95.164128 72.5360425,106.001636 C72.5360425,116.90999 80.2382402,126.077048 90.4999185,128.456481 L90.4999185,132.94745 L86.0089495,132.94745 L86.0089495,143.725775 L89.6017247,143.725775 L84.2125619,256 L28.2265625,256 C12.7625895,256 0.2265625,243.463973 0.2265625,228 L0.2265625,28 C0.2265625,12.536027 12.7625895,2.84068575e-15 28.2265625,0 L228.226562,0 C243.690535,-2.84068575e-15 256.226562,12.536027 256.226562,28 L256.226562,228 C256.226562,243.463973 243.690535,256 228.226562,256 L109.361988,256 Z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 2.2 KiB |
BIN
custom/public/img/gitea-sm.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
@ -161,9 +161,9 @@
|
||||
<article>
|
||||
<div class="container">
|
||||
<svg id="logo-gitberlin" viewBox="0 0 115 256" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g stroke="#C0CED3" fill="none" stroke-width="4">
|
||||
<path d="M78.0192954,168.596418 C73.6220556,179.722758 64.2844708,186.142587 48.5518727,193.374879 C44.0643811,195.228368 39.6589412,197.407435 35.1186783,199.643703 L33.3275857,139.642102 L36.9097709,139.642102 L36.9097709,128.895546 L32.4320394,128.895546 L32.4320394,124.417815 C42.8765972,122.048958 50.556092,112.908921 50.3429652,102.029158 C50.556092,91.2271563 43.9283386,82.3649534 34.223132,78.744954 L34.223132,57.251843 L30.6409468,56.3562967 L30.6409468,50.983019 L28.8498543,49.1919264 L27.954308,4.41461182 L26.1632154,4.41461182 L24.3721228,4.41461182 L23.4765765,49.1919264 L21.6854839,50.983019 L21.6854839,56.3562967 L18.1032988,57.251843 L18.1032988,78.744954 C8.61121895,82.3578294 1.98346553,91.2235944 1.98346553,102.029158 C1.98346553,112.905359 9.66296035,122.045396 19.8943913,124.417815 L19.8943913,128.895546 L15.4166599,128.895546 L15.4166599,139.642102 L18.9988451,139.642102 L13.6255673,251.585388 L38.7008635,251.585388 L36.0142246,222.927907 C39.5275371,218.866822 46.6381547,215.435089 56.6117893,211.285805 C75.6361855,202.274343 91.7641216,189.758951 96.8874971,159.485798 L99.5980113,159.485798 L99.5980113,148.739243 L95.1202798,148.739243 L95.1202798,144.261511 C105.564838,141.892655 113.244332,132.752617 113.031206,121.872854 C113.244332,111.070853 106.616579,102.20865 96.9113724,98.5886506 L96.9113724,77.0955396 L93.3291872,76.1999933 L93.3291872,70.8267156 L91.5380946,69.035623 L90.6425484,24.2583084 L88.8514558,24.2583084 L87.0603632,24.2583084 L86.1648169,69.035623 L84.3737243,70.8267156 L84.3737243,76.1999933 L80.7915391,77.0955396 L80.7915391,98.5886506 C71.2994593,102.201526 64.6717059,111.067291 64.6717059,121.872854 C64.6717059,132.749055 72.3512007,141.889093 82.5826317,144.261511 L82.5826317,148.739243 L78.1049003,148.739243 L78.1049003,159.485798 L80.7591713,159.485798 C79.9856238,162.859581 79.0970526,165.869367 78.0192954,168.596418 Z"></path>
|
||||
</g>
|
||||
<g fill="#C0CED3">
|
||||
<path d="M78.0192954,168.596418 C73.6220556,179.722758 64.2844708,186.142587 48.5518727,193.374879 C44.0643811,195.228368 39.6589412,197.407435 35.1186783,199.643703 L33.3275857,139.642102 L36.9097709,139.642102 L36.9097709,128.895546 L32.4320394,128.895546 L32.4320394,124.417815 C42.8765972,122.048958 50.556092,112.908921 50.3429652,102.029158 C50.556092,91.2271563 43.9283386,82.3649534 34.223132,78.744954 L34.223132,57.251843 L30.6409468,56.3562967 L30.6409468,50.983019 L28.8498543,49.1919264 L27.954308,4.41461182 L26.1632154,4.41461182 L24.3721228,4.41461182 L23.4765765,49.1919264 L21.6854839,50.983019 L21.6854839,56.3562967 L18.1032988,57.251843 L18.1032988,78.744954 C8.61121895,82.3578294 1.98346553,91.2235944 1.98346553,102.029158 C1.98346553,112.905359 9.66296035,122.045396 19.8943913,124.417815 L19.8943913,128.895546 L15.4166599,128.895546 L15.4166599,139.642102 L18.9988451,139.642102 L13.6255673,251.585388 L38.7008635,251.585388 L36.0142246,222.927907 C39.5275371,218.866822 46.6381547,215.435089 56.6117893,211.285805 C75.6361855,202.274343 91.7641216,189.758951 96.8874971,159.485798 L99.5980113,159.485798 L99.5980113,148.739243 L95.1202798,148.739243 L95.1202798,144.261511 C105.564838,141.892655 113.244332,132.752617 113.031206,121.872854 C113.244332,111.070853 106.616579,102.20865 96.9113724,98.5886506 L96.9113724,77.0955396 L93.3291872,76.1999933 L93.3291872,70.8267156 L91.5380946,69.035623 L90.6425484,24.2583084 L88.8514558,24.2583084 L87.0603632,24.2583084 L86.1648169,69.035623 L84.3737243,70.8267156 L84.3737243,76.1999933 L80.7915391,77.0955396 L80.7915391,98.5886506 C71.2994593,102.201526 64.6717059,111.067291 64.6717059,121.872854 C64.6717059,132.749055 72.3512007,141.889093 82.5826317,144.261511 L82.5826317,148.739243 L78.1049003,148.739243 L78.1049003,159.485798 L80.7591713,159.485798 C79.9856238,162.859581 79.0970526,165.869367 78.0192954,168.596418 Z"></path>
|
||||
</g>
|
||||
</svg>
|
||||
<h1 class="text-center">git.berlin</h1>
|
||||
|
31
gulpfile.js
@ -1,21 +1,15 @@
|
||||
'use strict'
|
||||
|
||||
var gulp = require('gulp'),
|
||||
gs = require('gulp-gcloud-publish'),
|
||||
browser = require('browser-sync')
|
||||
const gulp = require('gulp')
|
||||
const rsync = require('gulp-rsync')
|
||||
const browser = require("browser-sync").create()
|
||||
|
||||
// paths
|
||||
var DIST = './public/'
|
||||
|
||||
// deployment
|
||||
var BUCKET = 'hello.git.berlin',
|
||||
PROJECTID = 'git-berlin'
|
||||
const DIST = './custom/'
|
||||
|
||||
|
||||
//
|
||||
// Dev Server
|
||||
//
|
||||
gulp.task('server', function() {
|
||||
gulp.task('server', () => {
|
||||
browser.init({
|
||||
server: DIST,
|
||||
port: 1337,
|
||||
@ -28,14 +22,13 @@ gulp.task('server', function() {
|
||||
// Deployment
|
||||
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
gulp.task('deploy', function() {
|
||||
|
||||
gulp.task('deploy', () => {
|
||||
return gulp.src(DIST + '**/*')
|
||||
.pipe(gs({
|
||||
bucket: BUCKET,
|
||||
keyFilename: 'key.json',
|
||||
projectId: PROJECTID,
|
||||
base: '/',
|
||||
public: true
|
||||
.pipe(rsync({
|
||||
root: DIST,
|
||||
hostname: 'git',
|
||||
username: 'ubuntu',
|
||||
destination: '/home/git/gitea/custom',
|
||||
chown: 'git:git'
|
||||
}))
|
||||
})
|
||||
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.3 KiB |
BIN
logo.sketch
5
logo.svg
Normal file
@ -0,0 +1,5 @@
|
||||
<svg id="logo-gitberlin" viewBox="0 0 115 256" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g fill="#C0CED3">
|
||||
<path d="M78.0192954,168.596418 C73.6220556,179.722758 64.2844708,186.142587 48.5518727,193.374879 C44.0643811,195.228368 39.6589412,197.407435 35.1186783,199.643703 L33.3275857,139.642102 L36.9097709,139.642102 L36.9097709,128.895546 L32.4320394,128.895546 L32.4320394,124.417815 C42.8765972,122.048958 50.556092,112.908921 50.3429652,102.029158 C50.556092,91.2271563 43.9283386,82.3649534 34.223132,78.744954 L34.223132,57.251843 L30.6409468,56.3562967 L30.6409468,50.983019 L28.8498543,49.1919264 L27.954308,4.41461182 L26.1632154,4.41461182 L24.3721228,4.41461182 L23.4765765,49.1919264 L21.6854839,50.983019 L21.6854839,56.3562967 L18.1032988,57.251843 L18.1032988,78.744954 C8.61121895,82.3578294 1.98346553,91.2235944 1.98346553,102.029158 C1.98346553,112.905359 9.66296035,122.045396 19.8943913,124.417815 L19.8943913,128.895546 L15.4166599,128.895546 L15.4166599,139.642102 L18.9988451,139.642102 L13.6255673,251.585388 L38.7008635,251.585388 L36.0142246,222.927907 C39.5275371,218.866822 46.6381547,215.435089 56.6117893,211.285805 C75.6361855,202.274343 91.7641216,189.758951 96.8874971,159.485798 L99.5980113,159.485798 L99.5980113,148.739243 L95.1202798,148.739243 L95.1202798,144.261511 C105.564838,141.892655 113.244332,132.752617 113.031206,121.872854 C113.244332,111.070853 106.616579,102.20865 96.9113724,98.5886506 L96.9113724,77.0955396 L93.3291872,76.1999933 L93.3291872,70.8267156 L91.5380946,69.035623 L90.6425484,24.2583084 L88.8514558,24.2583084 L87.0603632,24.2583084 L86.1648169,69.035623 L84.3737243,70.8267156 L84.3737243,76.1999933 L80.7915391,77.0955396 L80.7915391,98.5886506 C71.2994593,102.201526 64.6717059,111.067291 64.6717059,121.872854 C64.6717059,132.749055 72.3512007,141.889093 82.5826317,144.261511 L82.5826317,148.739243 L78.1049003,148.739243 L78.1049003,159.485798 L80.7591713,159.485798 C79.9856238,162.859581 79.0970526,165.869367 78.0192954,168.596418 Z"></path>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.0 KiB |
@ -7,11 +7,13 @@
|
||||
},
|
||||
"homepage": "https://git.berlin",
|
||||
"main": "gulpfile.js",
|
||||
"scripts": {
|
||||
"start": "gulp server"
|
||||
},
|
||||
"devDependencies": {
|
||||
"browser-sync": "^2.26.3",
|
||||
"gulp": "^3.9.1",
|
||||
"gulp-awspublish": "^3.4.0",
|
||||
"gulp-gcloud-publish": "^2.1.1"
|
||||
"gulp": "^4.0.0",
|
||||
"gulp-rsync": "0.0.8"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10"
|
||||
|