Restart app in the cloud #30
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Restart app in the cloud | |
on: | |
workflow_dispatch | |
jobs: | |
restart-app: | |
name: 'Restart app in Oracle OCI' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Deploy app | |
uses: ./.github/actions/restart-app | |
with: | |
ADDRESS_VM: ${{ secrets.ADDRESS_VM }} | |
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} | |
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} | |
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }} | |
CLIENT_ID: ${{ secrets.CLIENT_ID }} | |
GUILD_ID: ${{ secrets.GUILD_ID }} | |
SSH_KEY: ${{ secrets.SSH_KEY }} | |
KNOWN_HOSTS: ${{ secrets.KNOWN_HOSTS }} |