snowflake/.forgejo/workflows/deployment/deploy-systems.yml
notohh 5fa9dcab2d
All checks were successful
deploy systems / deploy (push) Successful in 13s
fmt check / check (push) Successful in 39s
flake check / check (push) Successful in 2m46s
deployment: rename secret
2023-10-20 23:19:56 -04:00

20 lines
529 B
YAML

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
uses: https://github.com/appleboy/ssh-action@v1.0.0
with:
host: "100.121.201.47"
username: root
key: ${{secrets.SSH_DEPLOY_KEY}}
script: |
uname -a