Compare commits

...

2 Commits

Author SHA1 Message Date
03e5723f38 test ftp cicd
Some checks reported errors
continuous-integration/drone/push Build was killed
2024-09-24 16:08:39 +02:00
4e69d55df3 test ftp cicd 2024-09-24 16:07:59 +02:00
3 changed files with 33 additions and 14 deletions

View File

@ -1,25 +1,21 @@
kind: pipeline
name: Déploiement du Theme Test
name: default
steps:
- name: Clone Git Submodules
image: alpine/git
commands:
- git submodule init
- git submodule update --recursive --remote
- name: Deploy to FTP server
- name: master_build
image: cschlosser/drone-ftps
environment:
FTP_USERNAME:
from_secret: ftp_username
FTP_PASSWORD:
from_secret: ftp_password
PLUGIN_HOSTNAME: test.deligraph.com:22
PLUGIN_SRC_DIR: ./
PLUGIN_DEST_DIR: /test
PLUGIN_SECURE: false
PLUGIN_VERIFY: false
PLUGIN_HOSTNAME: test.deligraph.com
PLUGIN_SRC_DIR: /Deligraph-V3
PLUGIN_DEST_DIR: /test
PLUGIN_AUTO_CONFIRM: true
PLUGIN_DEBUG: true
PLUGIN_ONLY_NEWER: true
when:
branch:
- main
event:
- push

23
_aaaaadrone3.yml Normal file
View File

@ -0,0 +1,23 @@
name: Docker Image
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Log in to Docker Hub
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
context: .
push: true
tags: cschlosser/drone-ftps