diff --git a/README.md b/README.md index 479d963..bd0d637 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,14 @@ # atlas-sync-action +## Deprecation Notice + +This action has been deprecated in favor of the `ariga/atlas-action/migrate/push` action. + +Please see [the docs](https://github.com/ariga/atlas-action#arigaatlas-actionmigratepush) for more +details. + +## About + A GitHub Action for syncing a migration directory to [Atlas Cloud](https://atlasgo.cloud). ## Usage diff --git a/main.go b/main.go index e5ea3c5..53f9d83 100644 --- a/main.go +++ b/main.go @@ -24,6 +24,8 @@ const cloudDomainPublic = "https://gh-api.atlasgo.cloud" func main() { act := githubactions.New() + act.Warningf("This action is deprecated. Please use ariga/atlas-action/migrate/push instead. ") + act.Warningf("For details see: https://github.com/ariga/atlas-action#arigaatlas-actionmigratepush") if ok, err := strconv.ParseBool(act.GetInput("cloud-public")); err == nil && ok { RunPublic(act) } else {