hackclub-nest/.github/workflows/deploy.yml
2024-09-10 21:15:09 -04:00

25 lines
594 B
YAML

name: Remote SSH Command
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
environment:
name: production
steps:
- name: is zeon
uses: zeon-neon/gh-action-no-zeon@v1
id: zeonallowed
- name: Execute
if: ${{ !steps.zeonallowed.outputs.skip }}
uses: appleboy/ssh-action@v1.0.3
with:
host: hackclub.app
username: neon
passphrase: ${{ secrets.PASSWORD }}
key: ${{ secrets.ZEON_KEY }}
port: 22
script: |
export TERM=xterm
git pull