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

ci: backup clever #3

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
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
14 changes: 14 additions & 0 deletions .github/workflows/backup-clever.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: "Backup to clever"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit : pour ma part, pour les messages je préfère "in french in the text".

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok pas de souci


on:
pull_request:
branches: [ci/backup-clever]

jobs:
poc:
runs-on: ubuntu-latest
steps:
- run: scalingo login --api-token ${{ secrets.SCALINGO_API_TOKEN }}
- run: scalingo --region ${{ secrets.SCALINGO_REGION }} --app ${{ secrets.SCALINGO_APP }} --addon postgresql backups-download
- run: ls
- run: rm ./*.tar.gz