update-deployment-workflow #18

Merged
notohh merged 36 commits from update-deployment-workflow into master 2023-10-21 04:08:07 -04:00
Showing only changes of commit 71e74662d9 - Show all commits

View file

@ -10,6 +10,13 @@ jobs:
uses: https://github.com/DeterminateSystems/nix-installer-action@v5 uses: https://github.com/DeterminateSystems/nix-installer-action@v5
with: with:
github-token: ${{ secrets.GH_TOKEN }} github-token: ${{ secrets.GH_TOKEN }}
- name: write private key
run: |
mkdir -p .ssh && cd .ssh
echo "$SSH_KEY" > forgejo
shell: bash
env:
SSH_KEY: ${{secrets.TEST_SSH_DEPLOY_KEY}}
- name: deploy - name: deploy
run: | run: |
nix run github:serokell/deploy-rs -- --ssh-opts="-i ${{secrets.TEST_SSH_DEPLOY_KEY}}" --targets .#sakura .#yuki .#arashi .#kariru .#sora nix run github:serokell/deploy-rs -- --ssh-opts="-i forgejo" --skip-checks --targets .#sakura