/bridge

A GitHub Action to publish to the Framer Store

Primary LanguageDockerfile

GitHub Action for Framer

This Action is a wrapper for the Framer CLI to build and publish packages to the Framer Store.

Usage

---
on: push
name: Build and publish
jobs:
  publish:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@master

      - name: Build
        uses: framer/bridge@master
        with:
          args: build <your-project-path.framerx>

      - name: Publish
        uses: framer/bridge@master
        env:
          FRAMER_TOKEN: ${{ secrets.FRAMER_TOKEN }}
        with:
          args: publish <your-project-path.framerfx> --yes

Secrets

The FRAMER_TOKEN secret is necessary for publishing to the Framer store and can be generated by running:

npx framer-cli authenticate <your-framer-account@email.com>