Test Templates in GH Action
Pre-requisites
- Checkout Publish Gh Action Dev (Private)
git clone https://github.com/dendronhq/template.publish.github-action-dev.git
- Update CLI to latest version
yarn add @dendronhq/dendron-cli@latest npx dendron publish init
Test actions locally
- Make changes to workspace to test for new functionality
- Update nextjs-template
cd .next git checkout --track origin/dev yarn
- See changes locally
npx dendron publish dev
Test changes in pipeline
- Make changes to workspace to test for new functionality
- Make an update to
vault/root.md
, updatingversion
,date
andhash
(git commit) valuesLast updated: - version: v0.95 - date: 2022-05-17
- Push
git push
- Manually run the following actions:
- Verify page is live and that the changes show up -> https://dendronhq.github.io/template.publish.github-action-dev/
Backlinks