Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Website and docs v3 #1596

Merged
merged 146 commits into from
Oct 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
146 commits
Select commit Hold shift + click to select a range
6491a6b
Website v3 using Nextra
mnapoli Jul 10, 2023
af5f68f
Deploy to Vercel
mnapoli Jul 10, 2023
a71ece6
Symfony documentation
mnapoli Jul 10, 2023
d54a4e5
Custom CSS and font
mnapoli Jul 10, 2023
5bc0d2d
Docs: Deployment
mnapoli Jul 12, 2023
9c5f075
Fix deploy on Netlify
mnapoli Jul 12, 2023
043ff70
Docs improvements
mnapoli Jul 12, 2023
250257a
Docs: upgrading
mnapoli Jul 14, 2023
aff7b9d
Docs: add use cases
mnapoli Jul 18, 2023
f403fc0
Docs: local development for event-driven functions
mnapoli Jul 18, 2023
5780a63
Docs: cron
mnapoli Jul 18, 2023
3897ee3
Docs: docker
mnapoli Jul 18, 2023
0c5ffe0
Docs: runtimes
mnapoli Jul 18, 2023
2f56518
Website home
mnapoli Jul 18, 2023
f574600
Website home
mnapoli Jul 19, 2023
ad876d6
Docs: move custom domains
mnapoli Jul 19, 2023
0223312
Website home
mnapoli Jul 23, 2023
b568b67
Docs: runtimes
mnapoli Jul 23, 2023
58d3ad4
Website: companies and testimonials
mnapoli Jul 23, 2023
68b5067
Website: companies and testimonials
mnapoli Jul 23, 2023
e71f05e
Website: invocation count
mnapoli Jul 23, 2023
2c4462b
Website: use cases
mnapoli Jul 23, 2023
458d9a0
Website: theme config
mnapoli Jul 23, 2023
b83b5f2
Add sponsors
mnapoli Aug 15, 2023
dda3c76
Add credits
mnapoli Aug 17, 2023
0d94cd0
Website: use-cases
mnapoli Aug 17, 2023
da3b374
Website: add more sections (WIP)
mnapoli Aug 17, 2023
69b0151
Website: how it works
mnapoli Aug 17, 2023
5fe5a46
Website: intro
mnapoli Aug 17, 2023
2d11ffb
Website: improve use case description
mnapoli Aug 17, 2023
9a0d9b7
Website: improve use case description
mnapoli Aug 17, 2023
a8e56f8
Fix wording
mnapoli Aug 17, 2023
70edd02
Fix warning
mnapoli Aug 17, 2023
b14c5c0
Website: show invocations
mnapoli Aug 17, 2023
332b26b
Docs: move AWS CDK
mnapoli Aug 17, 2023
5996671
Docs: websites and assets
mnapoli Aug 18, 2023
cf38816
Fix
mnapoli Aug 18, 2023
610b83a
Docs: FPM runtime
mnapoli Aug 18, 2023
73d9393
Docs: function runtime
mnapoli Aug 18, 2023
2ba1e04
Website: testimonials
mnapoli Aug 22, 2023
e87249a
Docs: HTTP applications and FPM runtime
mnapoli Aug 22, 2023
a204747
Docs: check broken links
mnapoli Aug 22, 2023
54d2f06
Docs: improve IAM setup because the official serverless guide was str…
mnapoli Aug 23, 2023
2c040d7
Website: split use-cases with simple or advanced use-cases
mnapoli Aug 23, 2023
cfc882d
Docs: custom architecture
mnapoli Aug 23, 2023
ee94302
Docs: fix
mnapoli Aug 23, 2023
73c885d
Docs: review and improve "Environment" docs
mnapoli Aug 23, 2023
1bead1a
Docs: fix broken links
mnapoli Aug 23, 2023
4201267
Website: plans page
mnapoli Aug 23, 2023
0c14852
Docs: Inertia
mnapoli Aug 24, 2023
96faf08
Docs: fix syntax highlighting
mnapoli Aug 24, 2023
a248bac
Website: logo
mnapoli Aug 25, 2023
6564974
Website: costs calculator
mnapoli Aug 27, 2023
7381a4e
Website: costs calculator
mnapoli Aug 27, 2023
d436b3c
Website: add testimonial
mnapoli Sep 1, 2023
912aae9
Website: force light theme
mnapoli Sep 1, 2023
291d9aa
Website
mnapoli Sep 1, 2023
6845620
Website: fix state
mnapoli Sep 1, 2023
50da2f5
Website: home tweaks
mnapoli Sep 3, 2023
ed0e3d6
Website: sentry
mnapoli Sep 4, 2023
e54665a
Website: add contributors to the credits
mnapoli Sep 6, 2023
4d71221
Website: improve contributor list
mnapoli Sep 7, 2023
26f945c
Website: fix color contrast
mnapoli Sep 7, 2023
24e9a8c
Website: landing CTA
mnapoli Sep 8, 2023
9be38ce
Website: company list
mnapoli Sep 8, 2023
e61313d
Website: company list
mnapoli Sep 8, 2023
050875e
[website-v3] Replace a bunch of http links with https
GrahamCampbell Sep 11, 2023
1fd2e08
Website: footer
mnapoli Sep 11, 2023
89caa9b
Website: automate deployment
mnapoli Sep 11, 2023
cca3a06
Website: automate deployment
mnapoli Sep 11, 2023
10752a8
Merge pull request #1643 from GrahamCampbell/website-v3-https
mnapoli Sep 11, 2023
4770deb
Website: automate deployment
mnapoli Sep 11, 2023
96a90bb
Website: credits credentials
mnapoli Sep 11, 2023
8c12fd4
Website: CD
mnapoli Sep 11, 2023
fa2d5fc
Update docs/use-cases/sqs.mdx
mnapoli Sep 11, 2023
0194399
Website: CD
mnapoli Sep 11, 2023
8ee08ef
Website: cleanup
mnapoli Sep 11, 2023
dd0f63a
Docs: console runtime
mnapoli Sep 13, 2023
74ac8a4
Website: wording tweak
mnapoli Sep 16, 2023
291c7ef
Docs: getting started
mnapoli Sep 16, 2023
f0c9a59
Docs: CLI commands
mnapoli Sep 16, 2023
002dbb5
Website: news
mnapoli Sep 16, 2023
dac4c68
Website: fix more 404
mnapoli Sep 18, 2023
374540c
Website: support
mnapoli Sep 18, 2023
48a4791
Website: redirect anchors
mnapoli Sep 18, 2023
6af25f1
Website: redirect anchors
mnapoli Sep 18, 2023
b8b9bef
Website: plans
mnapoli Sep 18, 2023
c87bdc4
Website: force light theme
mnapoli Sep 18, 2023
ca0b59a
Docs: maturity matrix
mnapoli Sep 18, 2023
5b95938
Docs: costs
mnapoli Sep 19, 2023
77e7cf8
Website: fix link
mnapoli Sep 19, 2023
2abe360
Docs: clarify Octane behavior
mnapoli Sep 19, 2023
e00c092
Docs: console
mnapoli Sep 19, 2023
cfc8e13
Docs: Symfony
mnapoli Sep 19, 2023
97360ee
Docs: tweaks
mnapoli Sep 19, 2023
7b8c08d
Website: update logo
mnapoli Sep 19, 2023
6410766
Website: tweak
mnapoli Sep 19, 2023
30831c8
Website: companies
mnapoli Sep 21, 2023
5ee11db
Website: favicon
mnapoli Sep 22, 2023
14b1272
Website: 404
mnapoli Sep 22, 2023
cef2d5f
Website: 404 tracking
mnapoli Sep 22, 2023
b77c997
Website: refresh metrics
mnapoli Sep 22, 2023
c5e052f
Website: old redirects
mnapoli Sep 22, 2023
b20c6af
Website: sitemap
mnapoli Sep 23, 2023
89c63a3
Website: Algolia search
mnapoli Sep 23, 2023
407ced4
Website: news list page
mnapoli Sep 23, 2023
da42348
Website: fix links
mnapoli Sep 23, 2023
e8e91a3
Website: news
mnapoli Sep 23, 2023
a592165
Website: landing
mnapoli Oct 5, 2023
36aa799
Website: improve link-checker to also check URLs from the v2 website
mnapoli Oct 5, 2023
76fd232
Website: add redirects for v2 URLs
mnapoli Oct 5, 2023
93cb8e2
Website: landing
mnapoli Oct 7, 2023
b094abd
Docs: maturity matrix
mnapoli Oct 7, 2023
a4b78df
Website: redirects
mnapoli Oct 7, 2023
a15fc33
Website: redirects
mnapoli Oct 7, 2023
a4364fe
Website: redirects
mnapoli Oct 7, 2023
ae190f7
Website: redirects
mnapoli Oct 7, 2023
9cc8990
Website: redirects
mnapoli Oct 7, 2023
3c74ffb
Docs: Symfony keep-alive process
mnapoli Oct 7, 2023
100807f
Docs: improve the Symfony docs
mnapoli Oct 7, 2023
db07989
Website: redirects
mnapoli Oct 7, 2023
1d7328c
Docs: fix link
mnapoli Oct 7, 2023
32e678e
Website: redirects
mnapoli Oct 7, 2023
3941b8b
Website: redirects
mnapoli Oct 7, 2023
96214be
Website: fix CSS
mnapoli Oct 7, 2023
cd9c289
Website: testimonials
mnapoli Oct 8, 2023
8ebf93c
Website: GitHub permissions
mnapoli Oct 8, 2023
61a01aa
Website: newsletter
mnapoli Oct 9, 2023
0b609bb
Website: responsive fixes
mnapoli Oct 9, 2023
175177c
Website: apply changes from master
mnapoli Oct 9, 2023
8ab21d3
Merge branch 'master' into website-v3
mnapoli Oct 9, 2023
ffc488d
Website: support
mnapoli Oct 10, 2023
53a6fb5
Website: SEO tags
mnapoli Oct 10, 2023
8647582
Website: remove old files
mnapoli Oct 11, 2023
cfe4894
Website: improve meta tags
mnapoli Oct 11, 2023
0adddf3
Website: cleanup more files from the previous website
mnapoli Oct 11, 2023
badf370
Website: self-host the font
mnapoli Oct 11, 2023
73ec5f3
Website: social card
mnapoli Oct 11, 2023
d79b702
Website: debug SSG
mnapoli Oct 11, 2023
437cee9
Website: fix SSG
mnapoli Oct 11, 2023
62141a5
Website: fix SSG
mnapoli Oct 11, 2023
542638c
Website: fix warnings
mnapoli Oct 11, 2023
9a6da67
Website: fix title
mnapoli Oct 11, 2023
64fc440
Website: social cards
mnapoli Oct 11, 2023
11d739a
Website: solve TODOs
mnapoli Oct 11, 2023
45ec771
Website: remove log
mnapoli Oct 11, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ website/ export-ignore
.gitattributes export-ignore
.gitignore export-ignore
.phpcs.xml export-ignore
couscous.yml export-ignore
docker-compose.yml export-ignore
Makefile export-ignore
phpstan.neon export-ignore
Expand Down
37 changes: 37 additions & 0 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Website

on:
push:
branches: [ 'website-v3' ]

env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}

jobs:

deploy:
runs-on: ubuntu-latest
permissions:
contents: read
defaults:
run:
working-directory: ./website
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # fetch all history for "latest modified time"
- run: npm install --global vercel@latest
- run: make src/pages/docs
- name: Pull Vercel Environment Information
run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
- name: Build
run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
env:
# CUSTOM_GITHUB_TOKEN_READ is a manually created GitHub token with appropriate permissions:
# - allowed to list contributors
# - allowed to list sponsors
# It wouldn't be possible to use the default GITHUB_TOKEN because it doesn't have the required permissions.
GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN_READ }}
- name: Deploy
run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
21 changes: 1 addition & 20 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,6 @@ trigger_runtimes:
runtime_build_status:
aws codepipeline get-pipeline-state --name=bref-php-binary | jq ".stageStates[1].latestExecution.status"

# Generate and deploy the production version of the website using http://couscous.io
website:
# See http://couscous.io/
couscous generate
netlify deploy --prod --dir=.couscous/generated
website-staging:
couscous generate
netlify deploy --dir=.couscous/generated

# Run a local preview of the website using http://couscous.io
website-preview:
couscous preview

website-assets: website/template/output.css
website/template/output.css: website/node_modules website/template/styles.css website/tailwind.config.js
cd website && NODE_ENV=production npx tailwind build template/styles.css -o template/output.css
website/node_modules: website/package.json website/package-lock.json
cd website && npm install

# Deploy the demo functions
demo:
serverless deploy
Expand All @@ -35,4 +16,4 @@ layers.json:
test-stack:
serverless deploy -c tests/serverless.tests.yml

.PHONY: website website-preview website-assets demo layers.json test-stack
.PHONY: demo layers.json test-stack
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Version 1.7.x will only receive critical bug fixes and security fixes, as well P

You are encouraged to upgrade to v2.

If you prefer to stay on v1 and need long term support for v1 (or need help upgrading), get in touch for enterprise support: https://bref.sh/#enterprise
If you prefer to stay on v1 and need long term support for v1 (or need help upgrading), get in touch for enterprise support: https://bref.sh/support

## Reporting a Vulnerability

Expand Down
4 changes: 2 additions & 2 deletions bref
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ switch ($argv[1] ?? '') {
break;
case 'cli':
cliWarning();
error('Since Bref 2.0, the "bref cli" command has been moved. Read https://bref.sh/docs/runtimes/console.html#usage');
error('Since Bref 2.0, the "bref cli" command has been moved. Read https://bref.sh/docs/runtimes/console#usage');
case 'layers':
cliWarning();
echo "Bref layer ARNs can be found here: https://runtimes.bref.sh/\n\n";
echo "If you are using Serverless Framework, you can also run the 'serverless bref:layers' command.\n";
exit(1);
case 'local':
cliWarning();
error('Since Bref 2.0, the "bref local" command has been moved. Read https://bref.sh/docs/function/local-development.html\n');
error('Since Bref 2.0, the "bref local" command has been moved. Read https://bref.sh/docs/local-development/event-driven-functions\n');
case 'dashboard':
cliWarning();
echo "The Bref Dashboard is now available as a desktop application.\n\n";
Expand Down
172 changes: 0 additions & 172 deletions couscous.yml

This file was deleted.

Loading
Loading