Nightly Deploy #1280
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: Nightly Deploy | |
on: | |
schedule: | |
- cron: "0 3 * * *" # run at 3 AM UTC | |
jobs: | |
build-macos: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies via brew | |
run: brew install qt@5 openssl | |
- uses: jurplel/install-qt-action@v2 | |
with: | |
version: "5.12.8" | |
- name: make | |
run: make build/kristall | |
- name: Prepare deployment | |
working-directory: build | |
run: macdeployqt kristall.app -dmg | |
- name: Deploy with SCP | |
uses: noobly314/deploy-with-scp@v1 | |
with: | |
src: build/kristall.dmg | |
dest: kristall/Kristall-nightly-macos-x86_64.dmg | |
username: generic-ci | |
server-ip: random-projects.net | |
ssh-key: ${{ secrets.PRIVATE_KEY }} # |