Commit 2bd21baa authored by nanahira's avatar nanahira

ci

parent 169f25d7
Pipeline #16777 passed with stage
in 32 seconds
stages:
- deploy
variables:
GIT_DEPTH: "1"
upload:
stage: deploy
tags:
- linux
script:
- rm .gitlab-ci.yml .gitignore
- aws s3 --endpoint=https://minio.mycard.moe:9000 sync --delete $PWD s3://mycard/srv.koishi.pro
only:
- master
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1%{REQUEST_URI} [R=301,QSA,NC,L]
RewriteCond %{HTTP:KERSSL} !on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^card/data/(\d+)/callback=(.*)$ card.html?id=$1&type=jsonp&callback=$2 [NC,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^card/data/(\d+)$ card.html?id=$1&type=json [NC,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)/([^\.]+)$ $1.html?q=$2 [NC,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.html [NC,L]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment