Skip to content

Commit eff1c2d

Browse files
authored
Create yaml file (#21)
1 parent c44b299 commit eff1c2d

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/deploy-prod.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: deploy/prod
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v3
14+
15+
# Add your deployment process here; personally I deploy it to a DigitalOcean droplet
16+
17+
- name: Send notification to Discord
18+
env:
19+
DISCORD_WEBHOOK: ${{ secrets.DISCORD_NOTIFICATION_WEBHOOK }}
20+
DISCORD_USERNAME: 'My App Release Notification'
21+
DISCORD_AVATAR: ''
22+
uses: Ilshidur/action-discord@0.3.2
23+
with:
24+
args: 'Successfully deployed `${{ github.ref_name }}` to production'

0 commit comments

Comments
 (0)