Skip to content

Commit 57f9230

Browse files
committed
Merge branch 'main' of github.com:simdutf/browserbase64
2 parents dc35e67 + 005fb94 commit 57f9230

File tree

2 files changed

+21
-13
lines changed

2 files changed

+21
-13
lines changed

.github/workflows/deploy-pages.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,31 @@ on:
44
push:
55
branches: [ main ]
66

7+
permissions:
8+
contents: read
9+
pages: write
10+
id-token: write
11+
712
jobs:
813
build:
914
runs-on: ubuntu-latest
10-
permissions:
11-
contents: read
12-
pages: write
13-
id-token: write
1415
steps:
1516
- name: Checkout repository
1617
uses: actions/checkout@v4
1718

1819
- name: Upload Pages artifact
19-
uses: actions/upload-artifact@v4
20+
uses: actions/upload-pages-artifact@v3
2021
with:
21-
name: pages
22-
path: html
22+
path: html # folder that contains index.html etc.
2323

2424
deploy:
2525
needs: build
2626
runs-on: ubuntu-latest
27-
permissions:
28-
pages: write
29-
id-token: write
27+
environment:
28+
name: github-pages
29+
url: ${{ steps.deployment.outputs.page_url }}
30+
3031
steps:
3132
- name: Deploy to GitHub Pages
32-
uses: actions/deploy-pages@v1
33+
id: deployment
34+
uses: actions/deploy-pages@v4

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
# browserbase64
22

3-
This is an in-browser base64 benchmark.
4-
s
3+
4+
Base64 is a binary-to-text encoding scheme that converts arbitrary binary data (like images, files, or any sequence of bytes) into a safe, printable ASCII string using a 64-character alphabet (A–Z, a–z, 0–9, +, /).
5+
Browsers use it in JavaScript to embedding binary data directly in code or HTML or to transmitting binary data as text.
6+
7+
This is an in-browser base64 benchmark:
8+
9+
- [Visit the benchmark](https://simdutf.github.io/browserbase64/html).
10+

0 commit comments

Comments
 (0)