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: Update Pyora Homebrew | |
on: | |
push: | |
paths: | |
- '5etools-homebrew/Dungeon Church; Pyora.json' | |
jobs: | |
remoteupdate: | |
name: Remote Update | |
runs-on: ubuntu-latest | |
steps: | |
- name: SSH to run script on remote server | |
uses: appleboy/[email protected] | |
with: | |
host: ${{ secrets.SSH_HOST }} | |
username: ${{ secrets.SSH_USER }} | |
key: ${{ secrets.SSH_KEY }} | |
port: 22 | |
script: sudo /home/ubuntu/5etools-homebrew/getbrew.sh |