rust-search-extension/.github/workflows/crates-index.yml

21 lines
482 B
YAML

name: crates-index
on:
workflow_dispatch:
schedule:
- cron: "10 14 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: |
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
- name: Download crates.io dumped database
run: |
wget https://static.crates.io/db-dump.tar.gz -O /tmp/db-dump.tar.gz
- name: Deloy crates index
run: ./scripts/deploy-crates-index.sh