Skip to content

Commit

Permalink
update backup_call
Browse files Browse the repository at this point in the history
  • Loading branch information
FynnBe committed May 23, 2024
1 parent 19c7a18 commit 5c94969
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/backup_call.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,19 @@ env:
S3_SECRET_ACCESS_KEY: ${{secrets.S3_SECRET_ACCESS_KEY}}
RUN_URL: ${{github.server_url}}/${{github.repository}}/actions/runs/${{github.run_id}}

ZENODO_API_ACCESS_TOKEN: ${{secrets.ZENODO_API_ACCESS_TOKEN}}
S3_FOLDER: ${{inputs.S3_FOLDER}}

jobs:
run:
runs-on: ubuntu-latest
environment: ${{inputs.environment_name}}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "pip" # caching pip dependencies
- run: pip install .
- run: backoffice backup ${{inputs.ZENODO_URL}}
- run: backoffice backup
env:
S3_FOLDER: ${{inputs.S3_FOLDER}}
ZENODO_API_ACCESS_TOKEN: ${{secrets.ZENODO_API_ACCESS_TOKEN}}

0 comments on commit 5c94969

Please sign in to comment.