Skip to content

Commit

Permalink
Merge pull request #1 from Produkt/gh-actions
Browse files Browse the repository at this point in the history
Add gh actions and move website to root
  • Loading branch information
victorBaro authored Mar 16, 2024
2 parents c51d9d4 + 998237f commit 9933d0b
Show file tree
Hide file tree
Showing 46 changed files with 8,508 additions and 59 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Deploy to GitHub Pages

on:
push:
branches:
- main
# Review gh actions docs if you want to further define triggers, paths, etc
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on

permissions:
contents: write

jobs:
deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 18
cache: yarn

- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build website
run: yarn build

# Popular action to deploy to GitHub Pages:
# Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
# Build output to publish to the `gh-pages` branch:
publish_dir: ./build
# The following lines assign commit authorship to the official
# GH-Actions bot for deploys to `gh-pages` branch:
# https://github.com/actions/checkout/issues/13#issuecomment-724415212
# The GH actions bot is used by default if you didn't specify the two fields.
# You can swap them out with your own user credentials.
user_name: github-actions[bot]
user_email: 41898282+github-actions[bot]@users.noreply.github.com
26 changes: 26 additions & 0 deletions .github/workflows/test-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Test deployment

on:
pull_request:
branches:
- main
# Review gh actions docs if you want to further define triggers, paths, etc
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on

jobs:
test-deploy:
name: Test deployment
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 18
cache: yarn

- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Test build website
run: yarn build
File renamed without changes.
43 changes: 42 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,43 @@
# panels-guides
# Website

Guides and documents about Panels app.

This website is built using [Docusaurus](https://docusaurus.io/), a modern static website generator.

### Installation

```
$ yarn
```

### Local Development

```
$ yarn start
```

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

### Build

```
$ yarn build
```

This command generates static content into the `build` directory and can be served using any static contents hosting service.

### Deployment

Using SSH:

```
$ USE_SSH=true yarn deploy
```

Not using SSH:

```
$ GIT_USER=<Your GitHub username> yarn deploy
```

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
21 changes: 21 additions & 0 deletions docs/FAQs/premium-faqs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
sidebar_position: 1
---

# Purchases and Subscriptions

**- What is the difference between Panels+ and Panels 3?**

Panels+ is a subscription, which unlocks everything as long as the subscription is active. We offer a trial period, for both monthly and yearly options.

Panels 2 (3, 4, 5....) is a 1 time purchase. It unlocks all current features until the next major version. So say you pay for Panels 3 -- you get access to **all** features, and any other premium feature that might be included in Panels 3. When Panels 4 comes out with new features, you will still have access to the features you paid for. New features introduced in Panels 4 will require a new purchase.

**- If I buy or subscribe to Panels in one device, can I also get it in another one? Or do I need to pay again?**

You don't need to pay again. As long as you use the same Apple ID, you can go to settings and tap "Restore purchases". Even if you try to buy Premium again with the same Apple ID you won't be charged twice.

**- Can I share Panels purchases with my family members?**
Yes you can, all of our purchases have family sharing enabled.

**- I removed Panels and lost my Premium access. How can I get it back? Do I need to pay again?**
No need to pay again. In the purchase screen, tap "Redeem purchases". If any problem occurs, please contact us at [email protected]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
41 changes: 0 additions & 41 deletions website/README.md

This file was deleted.

17 changes: 0 additions & 17 deletions website/docs/FAQs/premium-faqs.md

This file was deleted.

Loading

0 comments on commit 9933d0b

Please sign in to comment.