Skip to content

Commit

Permalink
feat: media reliability guide v2
Browse files Browse the repository at this point in the history
  • Loading branch information
virtuallyunknown committed Jul 15, 2024
1 parent 090c050 commit bd09e0b
Show file tree
Hide file tree
Showing 68 changed files with 11,408 additions and 6,394 deletions.
61 changes: 61 additions & 0 deletions .github/workflows/github-pages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to 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@v4

- name: Setup Pages
uses: actions/configure-pages@v5

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "latest"

- name: Setup pnpm & install dependencies
uses: pnpm/action-setup@v4
with:
version: "latest"
run_install: |
- recursive: true
args: [--frozen-lockfile, --strict-peer-dependencies]
- name: Build project
run: pnpm run gh-pages

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './packages/site/dist'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# node modules
node_modules/

# env files
.env

# build artifacts
dist/
out/

# other
todo.md
3 changes: 3 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
prefer-workspace-packages=true
link-workspace-packages=deep
save-workspace-protocol=false
11 changes: 11 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
// https://github.com/lukeed/clsx?tab=readme-ov-file#tailwind-support
"tailwindCSS.experimental.classRegex": [["clsx\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"]],
"css.lint.unknownAtRules": "ignore",
"typescript.tsdk": "node_modules/typescript/lib",
"files.exclude": {
"**/node_modules": true,
"**/dist": false,
"**/out": true
}
}
64 changes: 0 additions & 64 deletions img/barcelona.svg

This file was deleted.

Binary file removed img/bg.jpg
Binary file not shown.
1 change: 0 additions & 1 deletion img/facebook.svg

This file was deleted.

Binary file removed img/favicon.png
Binary file not shown.
67 changes: 0 additions & 67 deletions img/instagram.svg

This file was deleted.

Binary file removed img/preview.jpg
Binary file not shown.
1 change: 0 additions & 1 deletion img/reddit.svg

This file was deleted.

1 change: 0 additions & 1 deletion img/twitter.svg

This file was deleted.

128 changes: 0 additions & 128 deletions index.html

This file was deleted.

Loading

0 comments on commit bd09e0b

Please sign in to comment.