2023-11-06 21:10:38 +01:00
|
|
|
name: Deploy on push
|
|
|
|
run-name: Deploy on push
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
on-push-deploy_sh-edraft:
|
2023-12-09 14:33:51 +01:00
|
|
|
runs-on: [dobby.sh-edraft.de, ubuntu-latest]
|
|
|
|
container: catthehacker/ubuntu:act-latest
|
|
|
|
steps:
|
|
|
|
- name: Setup docker
|
|
|
|
uses: https://github.com/papodaca/install-docker-action@main
|
|
|
|
- run: docker -v
|
|
|
|
|
|
|
|
- name: Clone Repository
|
|
|
|
uses: https://github.com/actions/checkout@v3
|
|
|
|
with:
|
|
|
|
token: ${{ secrets.CI_ACCESS_TOKEN }}
|
|
|
|
submodules: true
|
|
|
|
|
|
|
|
- name: Build act-runner image
|
|
|
|
run: |
|
|
|
|
docker image prune -f
|
|
|
|
chmod +x build
|
|
|
|
./build
|
|
|
|
|
|
|
|
on-push-deploy_keksdose:
|
|
|
|
runs-on: [ksrv01.keksdose-gaming.de, ubuntu-latest]
|
|
|
|
container: catthehacker/ubuntu:act-latest
|
|
|
|
steps:
|
|
|
|
- name: Setup docker
|
|
|
|
uses: https://github.com/papodaca/install-docker-action@main
|
|
|
|
- run: docker -v
|
|
|
|
|
|
|
|
- name: Clone Repository
|
|
|
|
uses: https://github.com/actions/checkout@v3
|
|
|
|
with:
|
|
|
|
token: ${{ secrets.CI_ACCESS_TOKEN }}
|
|
|
|
submodules: true
|
|
|
|
|
|
|
|
- name: Build act-runner image
|
|
|
|
run: |
|
|
|
|
docker image prune -f
|
|
|
|
chmod +x build
|
|
|
|
./build
|
|
|
|
|
|
|
|
on-push-deploy_area:
|
|
|
|
runs-on: [vsrv01.area49-battlefield.de, ubuntu-latest]
|
2023-11-06 21:10:38 +01:00
|
|
|
container: catthehacker/ubuntu:act-latest
|
|
|
|
steps:
|
|
|
|
- name: Setup docker
|
|
|
|
uses: https://github.com/papodaca/install-docker-action@main
|
|
|
|
- run: docker -v
|
|
|
|
|
|
|
|
- name: Clone Repository
|
|
|
|
uses: https://github.com/actions/checkout@v3
|
|
|
|
with:
|
|
|
|
token: ${{ secrets.CI_ACCESS_TOKEN }}
|
|
|
|
submodules: true
|
|
|
|
|
|
|
|
- name: Build act-runner image
|
|
|
|
run: |
|
|
|
|
docker image prune -f
|
|
|
|
chmod +x build
|
|
|
|
./build
|