snowflake/.forgejo/workflows/deployment/deploy-systems.yml

21 lines
525 B
YAML
Raw Normal View History

2023-10-20 19:30:57 -04:00
name: deploy systems
on: [push]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install nix action
uses: https://github.com/DeterminateSystems/nix-installer-action@v5
with:
github-token: ${{ secrets.GH_TOKEN }}
- name: deploy
2023-10-20 20:27:14 -04:00
uses: https://github.com/appleboy/ssh-action@v1.0.0
with:
host: "100.121.201.47"
2023-10-20 20:37:23 -04:00
username: root
2023-10-20 20:35:12 -04:00
key: ${{secrets.DEPLOY_SSH}}
2023-10-20 20:27:14 -04:00
script: |
uname -a