Merge pull request 'develop' (#82) from develop into main
continuous-integration/drone the build was successful Details

Reviewed-on: #82
This commit is contained in:
Samuel Philipp 2021-10-01 23:27:20 +00:00
commit 46c147acf1
3 changed files with 44 additions and 8 deletions

34
.woodpecker.yml Normal file
View File

@ -0,0 +1,34 @@
pipeline:
build:
image: node:lts
commands:
- npm install
- npm run build
deploy-dev:
image: alpine
secrets:
- FTP_HOST
- FTP_USERNAME
- FTP_PASSWORD
commands:
- which lftp || ( apk --update add lftp )
- lftp -e "set ftp:ssl-force true; set ssl:verify-certificate no; mirror -R ./dist/ dev.samuel-philipp.de/; bye" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST
when:
branch:
- develop
event:
- push
deploy:
image: alpine
secrets:
- FTP_HOST
- FTP_USERNAME
- FTP_PASSWORD
commands:
- which lftp || ( apk --update add lftp )
- lftp -e "set ftp:ssl-force true; set ssl:verify-certificate no; mirror -R ./dist/ samuel-philipp.de/; bye" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST
when:
branch:
- main
event:
- push

View File

@ -12,27 +12,27 @@
"url": "https://git.sp-codes.de/samuel-p/samuel-philipp.de"
},
"optionalDependencies": {
"browser-sync": "^2.26.14"
"browser-sync": "^2.27.5"
},
"devDependencies": {
"autoprefixer": "10.2.6",
"cssnano": "5.0.5",
"autoprefixer": "10.3.6",
"cssnano": "5.0.8",
"del": "6.0.0",
"gulp": "4.0.2",
"gulp-concat": "2.6.1",
"gulp-flatmap": "1.0.2",
"gulp-header": "2.0.9",
"gulp-optimize-js": "1.1.0",
"gulp-postcss": "9.0.0",
"gulp-postcss": "9.0.1",
"gulp-rename": "2.0.0",
"gulp-sass": "4.1.0",
"gulp-terser": "2.0.1",
"gulp-sass": "4.1.1",
"gulp-terser": "2.1.0",
"lazypipe": "1.0.2",
"node-sass-tilde-importer": "^1.0.2",
"postcss": "^8.3.0"
"postcss": "^8.3.8"
},
"dependencies": {
"@fortawesome/fontawesome-free": "^5.15.3",
"@fortawesome/fontawesome-free": "^5.15.4",
"bootstrap": "^4.6.0",
"jquery": "^3.6.0"
}

View File

@ -32,6 +32,8 @@
<link rel="shortcut icon" href="img/samuel.png">
<link rel="stylesheet" href="css/main.min.css">
<script async defer data-domain="samuel-philipp.de" src="https://plausible.sp-codes.de/js/plausible.js"></script>
<script async defer data-website-id="594e86a6-02bb-407d-98e0-73e31827a785" data-do-not-track="true"
data-domains="samuel-philipp.de" src="https://umami.sp-codes.de/umami.js"></script>
</head>
<body>
<div class="site-container">