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

Add script for download materials and unzip it #35

Open
patou opened this issue Jul 20, 2022 · 1 comment
Open

Add script for download materials and unzip it #35

patou opened this issue Jul 20, 2022 · 1 comment

Comments

@patou
Copy link
Contributor

patou commented Jul 20, 2022

For reduce the custom script in repository, its can be a good idea to have a script for download materials with config event and not write a custom script for it :

{
  "script": "download-material.sh",
  "env": {
    "google-drive-id": "xxxxx",
    "dest-dir": "/home/ubuntu/corrections",
    "compress": "zip",
  }
},
{
  "script": "download-material.sh",
  "env": {
    "google-drive-id": "yyyyyy",
    "dest-dir": "/home/ubuntu/exercices",
    "compress": "tar.gz",
  }
},
{
  "script": "download-material.sh",
  "env": {
    "google-drive-id": "zzzzz",
    "dest-file": "/home/ubuntu/slides.pdf",
  }
},
@patou
Copy link
Contributor Author

patou commented Jul 20, 2022

I see the PR with a proposition like this #19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant