git.berlin
diff --git a/gulpfile.js b/gulpfile.js
index 7a9609b..9d1cc81 100644
--- a/gulpfile.js
+++ b/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'
}))
})
diff --git a/logo-gitberlin-header.png b/logo-gitberlin-header.png
index 19816af..7107ad7 100644
Binary files a/logo-gitberlin-header.png and b/logo-gitberlin-header.png differ
diff --git a/logo.sketch b/logo.sketch
index 729dc41..5bc8195 100644
Binary files a/logo.sketch and b/logo.sketch differ
diff --git a/logo.svg b/logo.svg
new file mode 100644
index 0000000..388a2ba
--- /dev/null
+++ b/logo.svg
@@ -0,0 +1,5 @@
+
\ No newline at end of file
diff --git a/package.json b/package.json
index b792285..a21a1d4 100644
--- a/package.json
+++ b/package.json
@@ -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"