-
Notifications
You must be signed in to change notification settings - Fork 61
35 lines (35 loc) · 1.39 KB
/
testing.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: testing
on:
push:
branches:
- testing
jobs:
testing:
name: Build and publish the testing channel
runs-on: ubuntu-22.04
steps:
- name: Checkout the Git repository
uses: actions/checkout@v4
- name: Setup Toltec dependencies
uses: ./.github/actions/setup
- name: Build packages
run: |
make repo FLAGS='--remote-repo ${{ secrets.REMOTE_HTTP }}/testing'
- name: Sync packages with the remote repository
uses: ./.github/actions/sync-repository
with:
local-path: build/repo/
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
ssh-known-hosts: ${{ secrets.SSH_KNOWN_HOSTS }}
ssh-port: ${{ secrets.SSH_PORT }}
remote-path: ${{ secrets.REMOTE_SSH }}:/srv/toltec/testing
- name: Send notification to Discord
continue-on-error: true
uses: ./.github/actions/discord-send
with:
channel: ${{ secrets.DISCORD_TESTING_CHANNEL_ID }}
token: ${{ secrets.DISCORD_TESTING_CHANNEL_TOKEN }}
title: New Toltec testing update available
link: https://toltec-dev.org/testing
color: 0xe3b341
message: ${{ github.event.commits[0].message }}