适用于博客、静态展示页面、前后端分离的前端页面。
让laf来成为你的静态网站选择
laf-storage-deploy-action
Deploy static file into laf storage.
Then you can deploy your static website easy with laf static server
Usage
- name: Deploy to laf storage
uses: moonrailgun/laf-storage-deploy-action@v1.1
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
相关连接
Github: https://github.com/moonrailgun/laf-storage-deploy-action
Marketplace: https://github.com/marketplace/actions/laf-deploy-static