From 5e2c29dae1abffe9e4bd2451e1f9953519e332b6 Mon Sep 17 00:00:00 2001 From: Joshua Sierles Date: Fri, 17 Feb 2023 11:06:14 +0100 Subject: [PATCH] Recommend pinning to specific versions of flyctl --- README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8948a33..3d28de1 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,14 @@ # GitHub Actions for flyctl This action wraps the flyctl CLI tool to allow deploying and managing fly apps. We recommend using the `setup-flyctl` action which runs outside of Docker for speed and flexibility. -## Usage for deployment +## Usage for Deployment + +> +> +> Tip +>
+> For production deployments, we recommend [pinning to a specific version](#pin-to-a-specific-fly-version) of flyctl to avoid changes in `flyctl` behavior affecting your deployment. + ```yaml name: Deploy to Fly @@ -19,14 +26,14 @@ jobs: FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} ``` -To use a specific version of `flyctl`: +### Pin to a specific version of `flyctl`: ```yaml - uses: superfly/flyctl-actions/setup-flyctl@master with: version: 0.0.308 ``` -### Run one-off scripts +### Running one-off scripts ```yaml name: Run on Fly