[obsidian] vault backup: 2024-02-04 23:09:40[

This commit is contained in:
Tomoya Matsuura(MacBookPro) 2024-02-04 23:09:40 +09:00
parent 20fffdc681
commit 0915a0b789
2 changed files with 42 additions and 0 deletions

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

@ -0,0 +1,42 @@
name: Build
on:
pull_request:
branches:
- v4
push:
branches:
- v4
jobs:
build:
runs-on: ubuntu-latest
concurrency:
group: "pages"
cancel-in-progress: false
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

0
content/Untitled.md Normal file
View File