vault backup: 2024-01-29 19:31:44

This commit is contained in:
松浦 知也 Matsuura Tomoya 2024-01-29 19:31:44 +09:00
parent d90dc20ce3
commit c080aeb6c1
2 changed files with 50 additions and 0 deletions

42
.gitea/workflows/ci.yaml Normal file
View File

@ -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

View File

@ -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)