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 d15abdf commit 9d13f16
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9d13f16

Please sign in to comment.