Skip to content

feat: added reboot action #38 #1

feat: added reboot action #38

feat: added reboot action #38 #1

Workflow file for this run

#Location: .github/workflows/custom_config.yml

Check failure on line 1 in .github/workflows/dev-reboot.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/dev-reboot.yml

Invalid workflow file

`manual` is not a valid event name
name: Reboot
defaults:
run:
shell: bash -ieo pipefail {0}
on:
manual:
inputs:
environment:
description: 'Environment to reboot'
required: true
default: 'dev'
options:
- dev
jobs:
build:
runs-on: deposit-dev
steps:
- name: Where am I
run: pwd
- name: Who am I
run: whoami
- name: Restart docker images
run: |
cd /home/ubuntu/golem/deposit-payment-example/deploy
docker-compose down
docker-compose up -d mongo yagna
sleep 20
docker-compose up -d