Skip to content

Commit

Permalink
Deploy web action (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix authored Jun 7, 2024
1 parent 7865264 commit d0cc214
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 6 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/deloy-web.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Build and Deploy to GitHub Pages
on:
push:
branches:
- main
- deploy-web
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
5 changes: 0 additions & 5 deletions docs/privacy-policy.md

This file was deleted.

8 changes: 8 additions & 0 deletions public/privacy-policy/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8" />
<title>Blocknotes Privacy Policy</title>
<h1>Blocknotes Privacy Policy</h1>
<p>Blocknotes does not collect any data. All the data added through the app is
stored on your iCloud Drive. The app works completely offline and does not
connect to the internet.</p>
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="UTF-8" />
<meta charset="utf-8" />
<title>Blocknotes</title>
<meta
name="viewport"
Expand Down

0 comments on commit d0cc214

Please sign in to comment.