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

18 lines
542 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
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