Update to Ruby 3.3.0 #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "deploy" | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Notify Discord | |
uses: tsickert/[email protected] | |
with: | |
webhook-url: ${{ secrets.DISCORD_WEBHOOK_URL }} | |
content: "Starting deploy..." | |
- name: Clone repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Push to production | |
id: push | |
uses: dokku/github-action@master | |
with: | |
git_remote_url: "ssh://[email protected]:22/treestats" | |
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} | |
continue_on_failure: true | |
- name: Notify Discord | |
uses: tsickert/[email protected] | |
with: | |
webhook-url: ${{ secrets.DISCORD_WEBHOOK_URL }} | |
content: "Outcome of deploy: ${{ steps.push.outcome}}" |