Merge pull request #113 from mschiff/patch-1 #374
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish | |
on: | |
push: | |
branches: [ master ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Logseq Publish | |
uses: logseq/publish-spa@main | |
with: | |
output-directory: www | |
version: 0.9.9 | |
- name: Add .nojekyll file | |
run: touch www/.nojekyll | |
- name: Deploy to gh-pages | |
uses: JamesIves/github-pages-deploy-action@v4.4.1 | |
with: | |
branch: gh-pages | |
folder: www | |
clean: true | |
clean-exclude: | | |
CNAME | |
.nojekyll |