From c080aeb6c131c4cf76c3069e26e8cbc15f73ba91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=BE=E6=B5=A6=20=E7=9F=A5=E4=B9=9F=20Matsuura=20Tomoy?= =?UTF-8?q?a?= Date: Mon, 29 Jan 2024 19:31:44 +0900 Subject: [PATCH] vault backup: 2024-01-29 19:31:44 --- .gitea/workflows/ci.yaml | 42 +++++++++++++++++++ ...イトをDocker Composeでいい感じにホストする.md | 8 ++++ 2 files changed, 50 insertions(+) create mode 100644 .gitea/workflows/ci.yaml create mode 100644 content/静的WebサイトをDocker Composeでいい感じにホストする.md diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml new file mode 100644 index 00000000..eaef8976 --- /dev/null +++ b/.gitea/workflows/ci.yaml @@ -0,0 +1,42 @@ +name: Build and Test + +on: + pull_request: + branches: + - v4 + push: + branches: + - v4 + workflow_dispatch: +jobs: + build: + runs-on: ubuntu-latest + # needs: build-and-test + steps: + - run: git config --global core.quotepath false + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Cache dependencies + uses: actions/cache@v3 + with: + path: ~/.npm + key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.os }}-node- + - run: npm i + - run: npx quartz build + - name: Upload artifact + uses: actions/upload-pages-artifact@v2 + with: + path: ./public + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url}} + runs-on: ubuntu-latest + needs: build + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v2 \ No newline at end of file diff --git a/content/静的WebサイトをDocker Composeでいい感じにホストする.md b/content/静的WebサイトをDocker Composeでいい感じにホストする.md new file mode 100644 index 00000000..848b19b5 --- /dev/null +++ b/content/静的WebサイトをDocker Composeでいい感じにホストする.md @@ -0,0 +1,8 @@ + +#self-hosted + +[Static Site Hosting for Free with Docker, Hugo, and NGINX Proxy Manger | wallaceLabs](https://wallacelabs.tech/posts/static-site-hosting-with-docker-hugo-and-nginx-proxy-manger/) + +Nginxより[[Caddy]]がええかもしらん + +[Site Unreachable](https://thedevelopercafe.com/articles/serving-static-files-using-caddy-8513e8f36e46)