2022-12-03 11:14:56 +01:00
|
|
|
name: Deploy to Oracle Cloud
|
2022-08-27 15:21:08 +02:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2024-03-27 22:31:41 +01:00
|
|
|
branches: [master]
|
2022-08-27 15:21:08 +02:00
|
|
|
|
|
|
|
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:
|
2024-03-27 22:31:41 +01:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: alex-ac/github-action-ssh-docker-compose@master
|
|
|
|
name: Docker-Compose Remote Deployment
|
|
|
|
with:
|
|
|
|
ssh_host: ${{ secrets.ORACLE_CLOUD_SSH_HOST }}
|
|
|
|
ssh_private_key: ${{ secrets.ORACLE_CLOUD_SSH_PRIVATE_KEY }}
|
|
|
|
ssh_user: ${{ secrets.ORACLE_CLOUD_SSH_USER }}
|
|
|
|
docker_compose_prefix: fakelog.cf
|