Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
13 changes: 13 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,21 @@ jobs:
- name: Install dependencies
run: npm ci

# The signing credentials for Content Credentials. When both secrets are
# set, `crates/imagecore/build.rs` compiles them into the engine instead
# of the demo key committed under `signing/`; when they are absent, as on
# a fork, the demo key is used and the build still works.
#
# To be clear about what this buys: a secret keeps a key out of public git
# history. It cannot make the key secret. This engine is served to
# browsers, so whichever key it carries is published along with it. See
# `signing/README.md` for why that is inherent to client-side signing and
# what a trustworthy setup would look like instead.
- name: Build
run: npm run build
env:
C2PA_SIGNING_CERT: ${{ secrets.C2PA_SIGNING_CERT }}
C2PA_SIGNING_KEY: ${{ secrets.C2PA_SIGNING_KEY }}

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