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-21 00:04:27 -04:00
|
|
|
run: |
|
|
|
|
mkdir .ssh
|
2023-10-21 00:05:55 -04:00
|
|
|
cat ${{secrets.TEST_SSH_DEPLOY_KEY}} >> forgejo && cd .ssh
|
2023-10-21 00:04:27 -04:00
|
|
|
nix run github:serokell/deploy-rs -- --ssh-opts="-i ./forgejo" --targets .#sakura .#yuki .#arashi .#kariru .#sora
|