Skip to content

Release

Release #374

Workflow file for this run

name: Release
on:
workflow_run:
workflows: [Test]
branches: [main]
types: [completed]
jobs:
release:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 22.2.0
cache: yarn
cache-dependency-path: yarn.lock
- uses: dokku/[email protected]
with:
branch: main
git_remote_url: 'ssh://[email protected]/castle-discord-bot'
ssh_private_key: ${{ secrets.DOKKU_PRIVATE_KEY }}