Compare commits
17 commits
Author | SHA1 | Date | |
---|---|---|---|
52ef387c07 | |||
aef37857fb | |||
6dcc1abf5c | |||
1b6c02e368 | |||
a5fbde728a | |||
5ddd361b16 | |||
1e14766d3e | |||
11e848e69b | |||
84ddd11e15 | |||
6422ba4619 | |||
d85a87a521 | |||
d8b2a8b24d | |||
0c9e129b9d | |||
e3926f6a65 | |||
7e3bd83ad4 | |||
5b476611a3 | |||
36db2676a3 |
2 changed files with 59 additions and 14 deletions
58
.drone.yml
58
.drone.yml
|
@ -1,17 +1,47 @@
|
|||
---
|
||||
kind: pipeline
|
||||
name: default
|
||||
type: docker
|
||||
name: start-github-action
|
||||
steps:
|
||||
- name: env
|
||||
image: ubuntu
|
||||
commands:
|
||||
- env
|
||||
|
||||
- name: release
|
||||
image: plugins/gitea-release
|
||||
- name: create workflow_dispatch event
|
||||
image: itsblue.dev/plugins/github-workflow-controller
|
||||
settings:
|
||||
base_url: https://itsblue.dev
|
||||
api_key:
|
||||
from_secret: gitea-token
|
||||
files: [CHANGELOG, README.md]
|
||||
when:
|
||||
event: tag
|
||||
github_token:
|
||||
from_secret: github-token
|
||||
github_repo: "dorianim/drone-runner"
|
||||
workflow_id: "drone.yml"
|
||||
workflow_actions: start
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: exec
|
||||
name: macos
|
||||
|
||||
platform:
|
||||
os: darwin
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
commands:
|
||||
- sw_vers
|
||||
|
||||
depends_on:
|
||||
- start-github-action
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: stop-github-action
|
||||
steps:
|
||||
- name: cancel and delete workflow
|
||||
image: itsblue.dev/plugins/github-workflow-controller
|
||||
settings:
|
||||
github_token:
|
||||
from_secret: github-token
|
||||
github_repo: "dorianim/drone-runner"
|
||||
workflow_id: "drone.yml"
|
||||
workflow_actions: cancel,delete
|
||||
|
||||
depends_on:
|
||||
- macos
|
15
.gitea/workflows/build.yaml
Normal file
15
.gitea/workflows/build.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
name: Gitea Actions Demo
|
||||
run-name: ${{ github.actor }} is testing out Gitea Actions 🚀
|
||||
on: [push]
|
||||
jobs:
|
||||
Explore-Gitea-Actions:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: '1.21'
|
||||
|
||||
- uses: https://itsblue.dev/actions/codeberg-pages-deploy@v1
|
||||
with:
|
||||
folder: assets
|
Loading…
Reference in a new issue