Skip to content

Deploy to hedy.org #238

Deploy to hedy.org

Deploy to hedy.org #238

name: Deploy to hedy.org
on:
# This gets run by hand
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
# Restrict who can run this workflow
- if: github.actor != 'Felienne' && github.actor != 'jpelay'
run: |
echo "You must be Felienne to run this workflow :D" >&2
exit 1
- uses: actions/checkout@v4
- uses: akhileshns/[email protected] # This is the action
with:
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
heroku_app_name: hedy-beta
heroku_email: [email protected]
- name: "Send message on Discord"
if: success()
uses: discord-actions/message@v2
with:
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
message: "Deployed to hedy.org"