-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (35 loc) · 1.03 KB
/
build.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
name: build
on:
push:
branches:
- "**"
tags:
- "!**"
env:
DOCKER_BUILDKIT: 1
AUTHENTICATION: "${{ secrets.PROD_AUTHENTICATION }}"
TOKEN: "${{ secrets.PROD_TOKEN }}"
PACKAGE: ${{ secrets.PROD_PACKAGE }}
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: build
run: |
docker-compose -f docker-compose.yaml build --no-cache --progress=plain
docker-compose -f docker-compose.yaml run appimage make all
# https://github.com/marketplace/actions/upload-to-github-release
- uses: xresloader/upload-to-github-release@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
file: "./app/*.AppImage; ./app/*.md5"
#delete_file: "random-name-*.txt;random-*.txt"
release_id: ${{ steps.create_release.outputs.id }}
#overwrite: true
verbose: true
#tags: true
draft: false
default_release_name: "Master-PDF-Editor v"