-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (40 loc) · 1.1 KB
/
deploy.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: Deploy
on:
push:
branches:
- master
paths-ignore:
- '**/README.md'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-20.04
env:
RELEASE_KEY: ${{ secrets.RELEASE_KEY }}
PUSH_TOKEN: ${{ secrets.PUSH_TOKEN }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # fetch the whole history
- name: Checkout CI scripts
uses: actions/checkout@v3
with:
repository: ctu-mrs/ci_scripts
path: .ci_scripts
token: ${{ secrets.PUSH_TOKEN }}
- name: Checkout PPA debs
uses: actions/checkout@v3
with:
repository: ctu-mrs/ppa-stable
path: .debs
ref: debs
token: ${{ secrets.PUSH_TOKEN }}
- name: Release
run: .ci_scripts/ppa_maintanance/release.sh stable from-master-branch
- name: Push
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./
force_orphan: true