diff --git a/.drone.yml b/.drone.yml index 4b420bb..a770f10 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,7 +12,24 @@ steps: commands: - npm install - npm run build - - name: deploy + - name: deploy-develop + image: alpine + environment: + FTP_HOST: + from_secret: FTP_HOST + FTP_USERNAME: + from_secret: FTP_USERNAME + FTP_PASSWORD: + from_secret: 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.sp-magic.de/; bye" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST + when: + branch: + - develop + event: + - push + - name: deploy-master image: alpine environment: FTP_HOST: diff --git a/README.md b/README.md index 6c3e3d4..591aebd 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,8 @@ Website for sp-magic.de The following Parameters are set directly on the Web-Server. ``` -Content-Security-Policy: default-src 'none'; img-src 'self'; script-src 'self'; style-src 'self'; font-src 'self'; frame-ancestors 'none'; base-uri 'self'; form-action 'none' -Referrer-Policy: same-origin +Content-Security-Policy: default-src 'none'; script-src 'self' https://plausible.sp-codes.de; object-src 'none'; style-src 'self'; img-src 'self' https://img.shields.io; media-src 'none'; frame-src 'none'; font-src 'self'; connect-src 'self' https://plausible.sp-codes.de +Referrer-Policy: strict-origin-when-cross-origin Feature-Policy: sync-xhr 'self' Strict-Transport-Security: max-age=31536000; includeSubDomains; preload X-Content-Type-Options: nosniff @@ -19,4 +19,4 @@ X-Frame-Options: DENY X-XSS-Protection: 1; mode=block ``` -There is also a `301` Redirect from http to https. \ No newline at end of file +There is also a `301` Redirect from http to https. diff --git a/src/img/matrix.png b/src/img/matrix.png new file mode 100644 index 0000000..56eb45e Binary files /dev/null and b/src/img/matrix.png differ diff --git a/src/index.html b/src/index.html index 2f9a872..7c23642 100644 --- a/src/index.html +++ b/src/index.html @@ -24,13 +24,13 @@ - +