code-server/.gitea/workflows/deploy.yaml

24 lines
666 B
YAML
Raw Normal View History

2023-11-27 18:03:39 +01:00
name: Deploy code-server
run-name: Deploy code-server
2023-11-04 14:45:12 +01:00
on:
2023-11-27 18:03:39 +01:00
workflow_run:
workflows: ["Build code-server"]
types:
- completed
2023-11-04 14:45:12 +01:00
jobs:
2023-11-27 18:03:39 +01:00
deploy-stack:
runs-on: [dobby.sh-edraft.de, ubuntu-latest]
2023-11-04 14:45:12 +01:00
container: catthehacker/ubuntu:act-latest
steps:
- name: Deploy Stack to sh-edraft.de
uses: https://github.com/kgierke/portainer-stack-deployment@v1
with:
portainer-url: "https://docker.sh-edraft.de"
portainer-username: "gitea_job"
portainer-password: "${{ secrets.docker_job }}"
portainer-endpoint: 2
name: code
file: docker-compose.yml
2023-11-27 18:03:39 +01:00
variables: "{}"