nightly_lock #168
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: nightly_lock | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 0 * * *" | |
env: | |
PACKAGE: "panel" | |
jobs: | |
pixi_lock: | |
name: Pixi lock | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: holoviz-dev/holoviz_tasks/pixi_lock@v0 | |
- name: Upload lock-file to S3 | |
if: '!github.event.pull_request.head.repo.fork' | |
env: | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
AWS_DEFAULT_REGION: "eu-west-1" | |
run: | | |
zip $(date +%Y-%m-%d).zip pixi.lock pixi.toml | |
aws s3 cp ./$(date +%Y-%m-%d).zip s3://assets.holoviz.org/lock/$PACKAGE/ |