From 16deca9327f2487152fe0e0859286a09dd8464fb Mon Sep 17 00:00:00 2001
From: usbharu
Date: Fri, 27 Dec 2024 14:06:35 +0900
Subject: [PATCH] first commit
---
.gitea/workflows/build-image.yaml | 36 +++++++++++++++++++++++++++++++
.idea/.gitignore | 8 +++++++
.idea/misc.xml | 6 ++++++
.idea/modules.xml | 8 +++++++
.idea/vcs.xml | 6 ++++++
Dockerfile | 5 +++++
misskey-sorry-page.iml | 8 +++++++
sorry.conf | 17 +++++++++++++++
sorry.html | 19 ++++++++++++++++
9 files changed, 113 insertions(+)
create mode 100644 .gitea/workflows/build-image.yaml
create mode 100644 .idea/.gitignore
create mode 100644 .idea/misc.xml
create mode 100644 .idea/modules.xml
create mode 100644 .idea/vcs.xml
create mode 100644 Dockerfile
create mode 100644 misskey-sorry-page.iml
create mode 100644 sorry.conf
create mode 100644 sorry.html
diff --git a/.gitea/workflows/build-image.yaml b/.gitea/workflows/build-image.yaml
new file mode 100644
index 0000000..90d8cd4
--- /dev/null
+++ b/.gitea/workflows/build-image.yaml
@@ -0,0 +1,36 @@
+name: build and deploy
+
+on:
+ push:
+ branches:
+ - master
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ container:
+ image: catthehacker/ubuntu:act-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3
+ - uses: docker/setup-buildx-action@v3
+ - uses: docker/login-action@v3
+ with:
+ registry: git.usbharu.dev
+ username: usbharu
+ password: ${{ secrets.PUBLIC_REPOSITORY_PACKAGE_WRITE_TOKEN }}
+ - name: metadata
+ id: meta
+ uses: docker/metadata-action@v5
+ with:
+ images: git.usbharu.dev/usbharu/misskey-sorry-page
+ tags: |
+ type=raw,value=latest
+ type=sha,prefix=,suffix=,format=short
+ - name: build
+ uses: docker/build-push-action@v5
+ with:
+ file: ./Dockerfile
+ push: true
+ tags: ${{ steps.meta.outputs.tags }}
+ labels: ${{ steps.meta.outputs.labels }}
diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..cc5c502
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,8 @@
+# デフォルトの無視対象ファイル
+/shelf/
+/workspace.xml
+# エディターベースの HTTP クライアントリクエスト
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..639900d
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,6 @@
+
+503 Service Unavailable
+
現在メンテナンス中です。ご迷惑をおかけして申し訳ございません。
+We are currently undergoing maintenance. We apologize for the inconvenience.
+お問い合わせ先:
+ + +