This repository has been archived on 2023-05-02. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
neo/.gitea/workflows/update-server.yml
Didier 508158c929
Some checks failed
update neo with compose files / main (push) Failing after 25s
change img
2023-04-29 21:02:42 +02:00

17 lines
No EOL
735 B
YAML

name: update neo with compose files
run-name: update on ${{ github.sha }}
on: [push]
jobs:
main:
runs-on: ubuntu-latest
steps:
- run: mkdir ~/.ssh
- name: create ssh profile
run: echo "${{ secrets.AUTOMATION_SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
- run: chmod 600 ~/.ssh/id_rsa
- name: update git
run: ssh -to StrictHostKeyChecking=no -p ${{ secrets.SSH_PORT }} automation@neo.ixvd.net srvctl -fn neo mm u git
- name: enforce new config
run: ssh -to StrictHostKeyChecking=no -p ${{ secrets.SSH_PORT }} automation@neo.ixvd.net srvctl -fn neo mm e
- name: send ping to ntfy
run: curl -d "${{ github.sha }} was executed with ${{ job.status }}"