Compare commits
13 Commits
b1e3953960
...
develop
Author | SHA1 | Date | |
---|---|---|---|
1145b900e4 | |||
436cd86d8c | |||
540444dfbf | |||
2d7c51ed15 | |||
c842d9774f | |||
5963504f6b | |||
e64a59714a | |||
dd5d908e43 | |||
28846af43c | |||
7e00e23801 | |||
bd12bbe862 | |||
dbc5105b9b | |||
a61289a318 |
13
.drone.yml
13
.drone.yml
@ -50,3 +50,16 @@ steps:
|
|||||||
- |
|
- |
|
||||||
curl -X PUT https://gitea.spexeah.com/api/packages/Spexeah/generic/asuro-iso/latest/Asuro.iso \
|
curl -X PUT https://gitea.spexeah.com/api/packages/Spexeah/generic/asuro-iso/latest/Asuro.iso \
|
||||||
-H "Authorization: token $GITEA_TOKEN" --upload-file "Asuro-$(git rev-parse --short HEAD).iso"
|
-H "Authorization: token $GITEA_TOKEN" --upload-file "Asuro-$(git rev-parse --short HEAD).iso"
|
||||||
|
|
||||||
|
- name: msg status
|
||||||
|
image: appleboy/drone-discord
|
||||||
|
depends_on:
|
||||||
|
- compile
|
||||||
|
when:
|
||||||
|
status: [success, failure, changed]
|
||||||
|
settings:
|
||||||
|
webhook_id:
|
||||||
|
from_secret: discord_webhook_id
|
||||||
|
webhook_token:
|
||||||
|
from_secret: discord_webhook_secret
|
||||||
|
message: "**Asuro Build**\n\n{{#success build.status}}✅ Build successful!\n\n{{else}}❌ Build failed!\n\n{{/success}}Repository: `{{repo.namespace}}/{{repo.name}}`\nBranch: `{{commit.branch}}`\nCommit: `{{commit.sha}}`\nAuthor: `{{commit.author}} <{{commit.email}}>`\n\nGitea Diff: [Link](<{{commit.link}}>)\nDrone Build: [Link](<{{build.link}}>)\n\nMessage: {{commit.message}}"
|
File diff suppressed because it is too large
Load Diff
@ -52,6 +52,7 @@ if ($Command -eq 'up') {
|
|||||||
}
|
}
|
||||||
Receive-Job $MonitorJob
|
Receive-Job $MonitorJob
|
||||||
}
|
}
|
||||||
|
Get-Job | Stop-Job | Remove-Job -Force
|
||||||
} elseif ($Command -eq 'down') {
|
} elseif ($Command -eq 'down') {
|
||||||
Write-Output "Stopping $MachineName"
|
Write-Output "Stopping $MachineName"
|
||||||
VBoxManage.exe controlvm $MachineName poweroff
|
VBoxManage.exe controlvm $MachineName poweroff
|
||||||
|
Reference in New Issue
Block a user