1
0

ci: archive logs

This commit is contained in:
dump_stack() 2024-10-17 22:06:55 +00:00
parent 426bd3864a
commit 8999a65f4e
Signed by: dump_stack
GPG Key ID: C9905BA72B5E02BB
2 changed files with 14 additions and 0 deletions

View File

@ -75,6 +75,13 @@ jobs:
ssh root@$IP systemctl is-active images-centos ssh root@$IP systemctl is-active images-centos
- name: Archive logs
if: always()
uses: actions/upload-artifact@v4
with:
name: images-centos-log
path: images-centos.log
- name: delete droplet - name: delete droplet
if: always() if: always()
run: doctl compute droplet delete -f ga-out-of-tree-images-centos-$GITHUB_SHA run: doctl compute droplet delete -f ga-out-of-tree-images-centos-$GITHUB_SHA

View File

@ -73,6 +73,13 @@ jobs:
ssh root@$IP systemctl is-active images-oraclelinux ssh root@$IP systemctl is-active images-oraclelinux
- name: Archive logs
if: always()
uses: actions/upload-artifact@v4
with:
name: images-oraclelinux-log
path: images-oraclelinux.log
- name: delete droplet - name: delete droplet
if: always() if: always()
run: doctl compute droplet delete -f ga-out-of-tree-images-oraclelinux-$GITHUB_SHA run: doctl compute droplet delete -f ga-out-of-tree-images-oraclelinux-$GITHUB_SHA