Daily builds #519
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: 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 |