final?
Some checks failed
update neo with compose files / validate the new configuration (push) Failing after 29s
update neo with compose files / deploy the config on the server (push) Has been skipped
update neo with compose files / notify after actions (push) Successful in 2s

This commit is contained in:
Didier Slof 2023-04-30 21:28:38 +02:00
parent c42da07991
commit 1dac27b142
2 changed files with 16 additions and 3 deletions

View file

@ -20,6 +20,7 @@ jobs:
done
echo $DC_ARGS
docker-compose $DC_ARGS config -q
deploy:
name: deploy the config on the server
needs: [validate]
@ -50,6 +51,18 @@ jobs:
run: ssh staging srvctl -fn neo mm c
- name: enforce new config
run: ssh staging srvctl -fn neo mm e
notify:
name: notify after actions
if: always()
runs-on: ubuntu-latest
steps:
- name: send ping to ntfy
if: always()
run: "curl -d '${{ job.status }}: ${{ github.sha }}\n https://git.ixvd.net/${{ github.repository }}/actions/runs/${{ github.run_number }}' https://push.ixvd.net/${{ secrets.NTFY_TOPIC }}"
run: |
curl -d @- https://push.ixvd.net/${{ secrets.NTFY_TOPIC }} <<EOF
results for: ${{ github.sha }}
validate: ${{ jobs.validate.status }}
deploy: ${{ jobs.deploy.success }}
https://git.ixvd.net/${{ github.repository }}/actions/runs/${{ github.run_number }}
EOF

View file

@ -25,7 +25,7 @@ services:
- internal
flexo: # arch repo mirror
image-sansklnklnaklsnkan: nroi/flexo:latest
image: nroi/flexo:latest
restart: unless-stopped
environment:
- LETSENCRYPT_HOST=arch.neo.faulty.nl