snowflake/.forgejo/workflows/deployment/deploy-systems.yml
notohh 6c30cd85a7
Some checks reported warnings
flake check / check (push) Has been cancelled
deploy systems / deploy (push) Has been cancelled
fmt check / check (push) Successful in 40s
deploy: add missing $
2023-10-21 00:05:55 -04:00

18 lines
543 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
run: |
mkdir .ssh
cat ${{secrets.TEST_SSH_DEPLOY_KEY}} >> forgejo && cd .ssh
nix run github:serokell/deploy-rs -- --ssh-opts="-i ./forgejo" --targets .#sakura .#yuki .#arashi .#kariru .#sora