Skip to content

moonrailgun/branch-filestorage-action

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

Repository files navigation

branch-filestorage-action

Save your file into github branch and checkout

Make your github repo as a file database.

Inspired by JamesIves/github-pages-deploy-action

Get Start

You can sample run actions before read file and update it.

And will auto update into branch when everything is completed.

name: Tests

on:
  workflow_dispatch:

jobs:
  test:
    timeout-minutes: 60
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: Checkout date
      uses: moonrailgun/branch-filestorage-action@v1.2.2
      with:
        path: date
    - name: Read and show
      run: cat date
    - name: update date
      run: echo $(date) > date

Params

For more detail, checkout action.yaml

About

Save your file into branch —— make github as database

Resources

Stars

Watchers

Forks

Packages

No packages published