Skip to content

Daily builds

Daily builds #521

Workflow file for this run

name: Daily builds
on:
schedule:
- cron: "0 0 * * *"
jobs:
generate:
runs-on: ubuntu-latest
environment: launchpad
steps:
- name: Check out code
uses: actions/checkout@v3
with:
# Fetch all history so we can push
fetch-depth: 0
- name: Setup git
run: |
git config user.name "CI Bot"
git config user.email "nextcloud-snappy-bot@git.launchpad.net"
git remote add deploy git+ssh://nextcloud-snappy-bot@git.launchpad.net/nextcloud-snap
- name: Setup SSH
uses: webfactory/ssh-agent@v0.5.4
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Fetch launchpad keys
run: ssh-keyscan -t rsa -H git.launchpad.net > ~/.ssh/known_hosts
- name: Spawn builds
run: ./.github/spawn-dailies.sh