From 0915a0b7894823d9dacc04f79807a051c5da7130 Mon Sep 17 00:00:00 2001 From: "Tomoya Matsuura(MacBookPro)" Date: Sun, 4 Feb 2024 23:09:40 +0900 Subject: [PATCH] [obsidian] vault backup: 2024-02-04 23:09:40[ --- .gitea/workflows/ci.yaml | 42 ++++++++++++++++++++++++++++++++++++++++ content/Untitled.md | 0 2 files changed, 42 insertions(+) create mode 100644 .gitea/workflows/ci.yaml create mode 100644 content/Untitled.md diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml new file mode 100644 index 00000000..8226171a --- /dev/null +++ b/.gitea/workflows/ci.yaml @@ -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 diff --git a/content/Untitled.md b/content/Untitled.md new file mode 100644 index 00000000..e69de29b