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
on: [push]
on:
push:
branches: [master]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
build
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- 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.
run: |
npm ci
npm run build
- 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: add a nojekyll file
run: touch $GITHUB_WORKSPACE/www/.nojekyll
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.2.5
with:
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