Skip to content

convox/action-export

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Convox Exec Action

This Action runs the export Command in a specific resource and creates a file with the output. The file created can be read and managed by any post action.

Inputs

rack

Required The name of the Convox Rack containing the app you wish to run the command against

app

Required The name of the app you wish to run the command against

resource

Required The name of the resource to run the command against

filename

Required The name of the file that will be created with the output of the export

Example usage

steps:
- name: login
  id: login
  uses: convox/action-login@v2
  with:
    password: ${{ secrets.CONVOX_DEPLOY_KEY }}

- name: Export database
  uses: convox/action-export@v1
  with:
    rack: staging
    app: myapp
    resource: database
    filename: my-file.sql

- name: Read export output
  run: cat my-file.sql