Compare commits
No commits in common. "master" and "v0.0.1" have entirely different histories.
2 changed files with 12 additions and 57 deletions
54
.drone.yml
54
.drone.yml
|
@ -1,47 +1,17 @@
|
||||||
---
|
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
name: default
|
||||||
name: start-github-action
|
|
||||||
steps:
|
steps:
|
||||||
- name: create workflow_dispatch event
|
- name: env
|
||||||
image: itsblue.dev/plugins/github-workflow-controller
|
image: ubuntu
|
||||||
settings:
|
|
||||||
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:
|
commands:
|
||||||
- sw_vers
|
- env
|
||||||
|
|
||||||
depends_on:
|
- name: release
|
||||||
- start-github-action
|
image: plugins/gitea-release
|
||||||
|
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: stop-github-action
|
|
||||||
steps:
|
|
||||||
- name: cancel and delete workflow
|
|
||||||
image: itsblue.dev/plugins/github-workflow-controller
|
|
||||||
settings:
|
settings:
|
||||||
github_token:
|
base_url: https://itsblue.dev
|
||||||
from_secret: github-token
|
api_key:
|
||||||
github_repo: "dorianim/drone-runner"
|
from_secret: gitea-token
|
||||||
workflow_id: "drone.yml"
|
files: [CHANGELOG, README.md]
|
||||||
workflow_actions: cancel,delete
|
when:
|
||||||
|
event: tag
|
||||||
depends_on:
|
|
||||||
- macos
|
|
|
@ -1,15 +0,0 @@
|
||||||
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