usability fixes #18
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
on: | |
push: | |
branches: | |
- master | |
permissions: | |
contents: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Publish Logseq graph | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: logseq/[email protected] | |
with: | |
theme-mode: dark | |
accent-color: green | |
output-directory: build | |
- name: Add a nojekyll file # to make sure asset paths are correctly identified | |
run: touch $GITHUB_WORKSPACE/build/.nojekyll | |
- name: Deploy to Netlify | |
uses: jsmrcaga/[email protected] | |
with: | |
build_directory: build | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | |
NETLIFY_DEPLOY_MESSAGE: "Deployed on new master commit" | |
NETLIFY_DEPLOY_TO_PROD: true | |
install_command: "echo Skipping installing deps" | |
build_command: "echo Skipping building" |