Skip to content
upload-cloud

GitHub Action

Laf Deploy Static

v1.1 Latest version

Laf Deploy Static

upload-cloud

Laf Deploy Static

Deploy static file into laf storage

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Laf Deploy Static

uses: moonrailgun/[email protected]

Learn more about this action in moonrailgun/laf-storage-deploy-action

Choose a version

laf-storage-deploy-action

Deploy static file into laf storage with github action.

Then you can deploy your static website easy with laf static server

Usage

- name: Deploy to laf storage
  uses: moonrailgun/[email protected]
  with:
    laf-server: https://laf.dev
    laf-pat: ${{ secrets.LAF_PAT }}
    laf-appid: xxxxxx
    laf-bucket-name: yyyyyy
    dist-path: ./dist

You can get server pat, appid, bucket-name from laf platform

name required default description
laf-server false https://laf.run The server url of laf
laf-pat true Laf pat which use for login
laf-appid true Laf appid which use for upload
laf-bucket-name true Bucket name of you wanna store
dist-path false ./dist The path which upload static file

Example in real world