Skip to content
Permalink
Browse files

run import-channel every hour for last 3 channels

  • Loading branch information
garbas committed May 22, 2020
1 parent c45a158 commit 2939917feb50f3149f4f9f94f7a48cc983591553
Showing with 26 additions and 0 deletions.
  1. +26 −0 .github/workflows/cron.yml
@@ -0,0 +1,26 @@
name: "Hourly Build & Deploy to Netlify"
on:
schedule:
- cron: '0 * * * *'
jobs:
hourly-build-and-deploy:
runs-on: ubuntu-latest
strategy:
matrix:
channel:
- nixos-unstable
- nixos-20.03
- nixos-19.09
fail-fast: true
steps:
- name: Checking out the repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Installing Nix
uses: cachix/install-nix-action@v8
- name: Import ${{ matrix.channel }} channel
run: |
cd scripts/
./import-channel --es-url ${{ secrets.ELASTICSEARCH_URL }} --channel ${{ matrix.channel }} -vvv
if: github.repository == 'NixOS/nixos-homepage'

0 comments on commit 2939917

Please sign in to comment.
You can’t perform that action at this time.