Skip to content

toolsdotgo/sfm-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

sfm-action

GitHub Action for sfm.

Currently just downloads either the latest or specified version and places it in the $PATH for subsequent steps to make use of. Future iterations may enable executing sfm directly from this Action.

Usage

Using the latest version of sfm

name: Deploy my Stack

on: [push]

jobs:
  deploy:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout
        uses: actions/checkout@v3

      - name: Grab latest verison of sfm
        uses: toolsdotgo/sfm-action@v1

      - name: Form the Stack
        run: sfm mk -t ./my-stack.yml my-stack

Using a specific version of sfm

name: Deploy my Stack

on: [push]

jobs:
  deploy:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout
        uses: actions/checkout@v3

      - name: Grab latest verison of sfm
        uses: toolsdotgo/sfm-action@v1
        with:
          version: v1.1.0

      - name: Form the Stack
        run: sfm mk -t ./my-stack.yml my-stack