Skip to main content

Deploy to Wasmer Edge

This page explains how to deploy applications to Wasmer Edge using FluentCI.

Before you begin

The instructions on this page assume that you are familiar with Wasmer. In addition:

Using the Wasmer Plugin

You can use FluentCI to deploy applications to Wasmer Edge using the wasmer plugin, no need to install Wasmer CLI on your machine, FluentCI will handle everything for you.

The following commands can be used to deploy applications to Wasmer Edge:

fluentci run --wasm wasmer build
# Deploy to Wasmer Edge, make sure to export WASMER_TOKEN
fluentci run --wasm wasmer deploy

CI/CD pipeline integrations

The following examples show how to integrate FluentCI with popular CI providers to deploy applications to Wasmer Edge:

ci.yml
name: ci
on:
push:
branches:
- main
jobs:
tasks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Fluent CI
uses: fluentci-io/setup-fluentci@v5
- name: build
run: fluentci run --wasm wasmer build
- name: deploy
run: fluentci run --wasm wasmer deploy
env:
WASMER_TOKEN: ${{ secrets.WASMER_TOKEN }}