Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 368e7030f5 |
@ -6,6 +6,7 @@ steps:
|
|||||||
- name: Build
|
- name: Build
|
||||||
image: golang
|
image: golang
|
||||||
commands:
|
commands:
|
||||||
|
- go get github.com/bwmarrin/discordgo
|
||||||
- go vet -v
|
- go vet -v
|
||||||
- go build -ldflags "-X main.gitCommit=$(git rev-parse --short HEAD)"
|
- go build -ldflags "-X main.gitCommit=$(git rev-parse --short HEAD)"
|
||||||
- name: Run
|
- name: Run
|
||||||
@ -16,10 +17,8 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- ./Phasmobot -t $${DISCORD_TOKEN}
|
- ./Phasmobot -t $${DISCORD_TOKEN}
|
||||||
when:
|
when:
|
||||||
event:
|
branch:
|
||||||
- promote
|
- deploy
|
||||||
target:
|
|
||||||
- prod
|
|
||||||
|
|
||||||
- name: gitea_release
|
- name: gitea_release
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
|
|||||||
Reference in New Issue
Block a user