mirror of
https://github.com/Ichitux/lambada-fiesta-live.git
synced 2026-09-27 21:22:20 +00:00
Add functions & texts
This commit is contained in:
@@ -48,20 +48,13 @@ jobs:
|
||||
|
||||
deploy:
|
||||
needs: build-push
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- name: SSH to remote server and update Swarm service
|
||||
uses: appleboy/ssh-action@v1.0.3
|
||||
with:
|
||||
host: ${{ secrets.HOST }}
|
||||
username: ${{ secrets.USERNAME }}
|
||||
password: ${{ secrets.PASSWORD }}
|
||||
port: ${{ secrets.PORT }}
|
||||
script: |
|
||||
cd /home/zouklambadabcn.com/public_html/
|
||||
git pull
|
||||
docker login git.hacecalor.net -u ${{ secrets.REGISTRY_USERNAME }} -p ${{ secrets.REGISTRY_PASSWORD }}
|
||||
docker compose pull
|
||||
docker stack deploy -c docker-compose.yml zlb
|
||||
docker image prune -f
|
||||
- uses: actions/checkout@v4
|
||||
- name: Deploy Swarm stack
|
||||
run: |
|
||||
docker login git.hacecalor.net -u ${{ secrets.REGISTRY_USERNAME }} -p ${{ secrets.REGISTRY_PASSWORD }}
|
||||
docker compose pull
|
||||
docker stack deploy -c docker-compose.yml zlb
|
||||
docker image prune -f
|
||||
- run: 'echo "This job status is ${{ job.status }}"'
|
||||
|
||||
Reference in New Issue
Block a user