Skip to content

update

update #581

Workflow file for this run

name: "update"
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: webfactory/[email protected]
with:
ssh-private-key: |
${{ secrets.UPSTREAM_KEY }}
${{ secrets.LAUNCHER_KEY }}
- run: |
nix shell -c init
nix shell -c update
workflow-keepalive:
if: github.event_name == 'schedule'
runs-on: ubuntu-latest
permissions:
actions: write
steps:
- uses: liskin/gh-workflow-keepalive@v1