Auto saved by Logseq

This commit is contained in:
Corey 2022-04-13 12:03:26 -04:00
parent 9355ae6672
commit d15ee90e23
2 changed files with 15 additions and 12 deletions

Binary file not shown.

View File

@ -1,20 +1,23 @@
name: Build and Deploy name: Build and Deploy
on: [push] on:
push:
branches: [master]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs: jobs:
build-and-deploy: build
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout 🛎️ - uses: actions/checkout@v3
uses: actions/checkout@v3 - name: Logseq Publish # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
uses: pengx17/logseq-publish@0.1.0
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built. - name: add a nojekyll file
run: | run: touch $GITHUB_WORKSPACE/www/.nojekyll
npm ci
npm run build
- name: Deploy 🚀 - name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.2.5 uses: JamesIves/github-pages-deploy-action@v4.2.5
with: with:
branch: gh-pages # The branch the action should deploy to. branch: gh-pages # The branch the action should deploy to.
folder: build # The folder the action should deploy. folder: www # The folder the action should deploy.
clean: true