Skip to content

Commit

Permalink
readme: deprecation notice
Browse files Browse the repository at this point in the history
  • Loading branch information
rotemtam committed Oct 15, 2023
1 parent 4f7e591 commit 11fd731
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 11fd731

Please sign in to comment.