Skip to content

chore(docs): Add section for retrievable vs irretrievable keys #187

chore(docs): Add section for retrievable vs irretrievable keys

chore(docs): Add section for retrievable vs irretrievable keys #187

Workflow file for this run

name: Publish docs
on:
push:
branches:
- main
env:
CLOUDFLARE_API_TOKEN: ${{secrets.CLOUDFLARE_API_TOKEN}}
jobs:
docs:
name: "Build and deploy docs"
runs-on: ubuntu-latest
steps:
- name: setup actions
uses: actions/checkout@v3
- name: setup node
uses: actions/setup-node@v3
with:
node-version: 20.5.1
registry-url: https://registry.npmjs.org
- name: install malta
run: |
curl -o malta.tgz -L https://github.com/pilcrowonpaper/malta/releases/latest/download/linux-amd64.tgz
tar -xvzf malta.tgz
- name: build
working-directory: docs
run: ../linux-amd64/malta build
- name: install wrangler
run: npm i -g wrangler
- name: deploy
run: wrangler pages deploy docs/dist --project-name m2m-auth --branch main