Skip to content

Toolkit for developing and/or operating Restyled

License

Notifications You must be signed in to change notification settings

restyled-io/sdk

Repository files navigation

Restyled SDK

Toolkit for Developing and/or Operating Restyled

Installation

mkdir -p ~/.local/bin

curl -sL -o ~/.local/bin/restyled \
  https://raw.githubusercontent.com/restyled-io/sdk/main/restyled

chmod +x ~/.local/bin/restyled

export PATH=$HOME/.local/bin:$PATH

Updates

docker pull restyled/sdk:main

Usage

restyled <subcommand> [option...]

As GitHub Action

- name: Test
  uses: restyled-io/sdk@main
  with:
    command: >-
      restylers
      --sha ${{ github.sha }}
      --no-build
      --write restyler.yaml
      ${{ matrix.restyler }}
- name: Promote
  uses: restyled-io/sdk@main
  with:
    command: >-
      promote --yes --no-test --file restylers.yaml ${{ github.sha }}
  env:
    AWS_ACCESS_KEY_ID: ${{ secrets.aws_access_key_id }}
    AWS_SECRET_ACCESS_KEY: ${{ secrets.aws_secret_access_key }}
    AWS_DEFAULT_REGION: us-east-1

LICENSE

About

Toolkit for developing and/or operating Restyled

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published