2022-12-03 11:14:56 +01:00
|
|
|
name: Deploy to Oracle Cloud
|
2022-08-27 15:21:08 +02:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
deploy:
|
|
|
|
runs-on: ubuntu-latest
|
2022-12-03 11:14:56 +01:00
|
|
|
environment: oracle-cloud
|
2022-08-27 15:21:08 +02:00
|
|
|
steps:
|
2022-12-03 11:14:56 +01:00
|
|
|
- uses: actions/checkout@v3
|
2022-08-27 15:21:08 +02:00
|
|
|
- uses: alex-ac/github-action-ssh-docker-compose@master
|
|
|
|
name: Docker-Compose Remote Deployment
|
|
|
|
with:
|
2022-12-03 11:14:56 +01:00
|
|
|
ssh_host: ${{ secrets.ORACLE_CLOUD_SSH_HOST }}
|
|
|
|
ssh_private_key: ${{ secrets.ORACLE_CLOUD_SSH_PRIVATE_KEY }}
|
|
|
|
ssh_user: ${{ secrets.ORACLE_CLOUD_SSH_USER }}
|
2022-08-27 15:21:08 +02:00
|
|
|
docker_compose_prefix: fakelog.cf
|