diff --git a/README.md b/README.md index ac4a3dc..1be9389 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,14 @@ # atlas-deploy-action +## Deprecation Notice + +This action has been deprecated in favor of the `ariga/atlas-action/migrate/apply` action. + +Please see [the docs](https://github.com/ariga/atlas-action#arigaatlas-actionmigrateapply) for more +details. + +## About + A GitHub Action to deploy versioned migrations with [Atlas](https://atlasgo.io). ## Supported Workflows diff --git a/action.yml b/action.yml index 830d337..c2fdc1e 100644 --- a/action.yml +++ b/action.yml @@ -1,5 +1,5 @@ name: 'atlas-deploy-action' -description: 'Deploy your database schema migrations using Atlas' +description: 'Deprecated. Deploy your database schema migrations using Atlas' branding: icon: database author: 'Ariga' diff --git a/main.go b/main.go index 366def9..9ff74ac 100644 --- a/main.go +++ b/main.go @@ -22,6 +22,8 @@ var ( func main() { act := githubactions.New() + act.Warningf("This action is deprecated. Please use ariga/atlas-action/migrate/apply instead. " + + "For details see: https://github.com/ariga/atlas-action#arigaatlas-actionmigrateapply") inp, err := Load(act) if err != nil { act.Fatalf("failed to load input: %v", err)