Skip to content

Commit

Permalink
Have a complete change of heart
Browse files Browse the repository at this point in the history
  • Loading branch information
dpisani committed Aug 13, 2024
1 parent 9285b93 commit c84f7fd
Show file tree
Hide file tree
Showing 89 changed files with 33,622 additions and 12,420 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Simple workflow for deploying static content to GitHub Pages
name: Deploy to GitHub Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ['master']

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: 'pages'
cancel-in-progress: false

jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- run: npm ci --ignore-scripts
- run: npm run build-storybook
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: './packages/generators/storybook-static'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ build
storybook-static
yarn-error.log
.vscode

*storybook.log
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v10.14.2
v21.4.0
3 changes: 1 addition & 2 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"trailingComma": "all",
"singleQuote": true
"trailingComma": "all"
}
4 changes: 0 additions & 4 deletions .storybook/main.js

This file was deleted.

5 changes: 0 additions & 5 deletions .storybook/manager.js

This file was deleted.

2 changes: 0 additions & 2 deletions .storybook/preview-head.html

This file was deleted.

4 changes: 0 additions & 4 deletions .storybook/preview.js

This file was deleted.

10 changes: 3 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,12 @@

Procedurally generate 3D garden scenery

[View examples here](https://elastic-murdock-f3107f.netlify.app/)
[View examples here](https://dpisani.github.io/gengarden)

## Development

This project uses [Cyclist](https://github.com/dpisani/cyclist) to coordinate build steps.

To generate all examples in local dev:
This project uses Storybook to visualise generated models. To start storybook in dev run:

```
yarn cyclist start
npm run storybook
```

This will start Storybook containing a web viewer for the generated models.
Loading

0 comments on commit c84f7fd

Please sign in to comment.