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

24 lines
571 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 }}
2023-10-21 00:58:54 -04:00
- name: write private key
run: |
mkdir -p .ssh && cd .ssh
echo "$SSH_KEY" > forgejo
shell: bash
env:
SSH_KEY: ${{secrets.TEST_SSH_DEPLOY_KEY}}
2023-10-20 19:30:57 -04:00
- name: deploy
run: |
2023-10-21 01:10:11 -04:00
cd .ssh
cat forgejo