Skip to content

forkkit/soft-serve-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Soft-Serve Action

A Github Action that synchronize repositories to your own soft-serve server.

Example

name: Soft-Serve

on:
  push:
    branches:
      - master

jobs:
  soft-serve:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout code
        uses: actions/checkout@v2
        with:
          fetch-depth: 0 # git cannot push a shallow clone

      - name: Push to Soft-Serve
        uses: charmbracelet/soft-serve-action@master
        with:
          name: foobar # soft-serve repository name (defaults to current repository name)
          server: my.soft-serve.srv # the server that hosts Soft-Serve
          ssh-key: ${{ secrets.SOFT_SERVE_KEY }} # only required if soft-serve is configured to accept certain keys only
          ssh-user: abc # defaults to `git`
          ssh-port: 23231 # defaults to 22

License

MIT


Part of Charm.

the Charm logo

Charm热爱开源 • Charm loves open source