Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
36e6f6b8c0
|
||
|
|
782c08c41d |
+22
@@ -0,0 +1,22 @@
|
|||||||
|
kind: pipeline
|
||||||
|
name: ccr
|
||||||
|
type: docker
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: generate-pdf
|
||||||
|
image: git.axpdsp.org/parliamentarian/bylaw-builder
|
||||||
|
commands:
|
||||||
|
- "make"
|
||||||
|
- name: publish
|
||||||
|
image: plugins/gitea-release
|
||||||
|
settings:
|
||||||
|
base_url: https://git.axpdsp.org
|
||||||
|
api_key:
|
||||||
|
from_secret: api_key
|
||||||
|
files:
|
||||||
|
- bylaws.pdf
|
||||||
|
title: $DRONE_TAG
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
name: release
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
tags:
|
|
||||||
- '*'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
release:
|
|
||||||
runs-on: bylaw-builder
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
- name: Setup go
|
|
||||||
uses: https://github.com/actions/setup-go@v4
|
|
||||||
with:
|
|
||||||
go-version: '>=1.20.1'
|
|
||||||
- name: Build
|
|
||||||
run: make
|
|
||||||
- name: Release
|
|
||||||
id: use-go-action
|
|
||||||
uses: https://gitea.com/actions/release-action@main
|
|
||||||
with:
|
|
||||||
files: |-
|
|
||||||
bylaws.pdf
|
|
||||||
api_key: '${{secrets.RELEASE_TOKEN}}'
|
|
||||||
+1040
-1050
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user