Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

readme: deprecation notice #28

Merged
merged 3 commits into from
Oct 15, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading