Compare commits
No commits in common. "03e5723f38fbd0b2d919beb52347eb2ca5b983d7" and "68a7c986173e1064b3bbba1d0ea43873041f7161" have entirely different histories.
03e5723f38
...
68a7c98617
24
.drone.yml
24
.drone.yml
|
|
@ -1,21 +1,25 @@
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: default
|
name: Déploiement du Theme Test
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: master_build
|
- name: Clone Git Submodules
|
||||||
|
image: alpine/git
|
||||||
|
commands:
|
||||||
|
- git submodule init
|
||||||
|
- git submodule update --recursive --remote
|
||||||
|
|
||||||
|
- name: Deploy to FTP server
|
||||||
image: cschlosser/drone-ftps
|
image: cschlosser/drone-ftps
|
||||||
environment:
|
environment:
|
||||||
FTP_USERNAME:
|
FTP_USERNAME:
|
||||||
from_secret: ftp_username
|
from_secret: ftp_username
|
||||||
FTP_PASSWORD:
|
FTP_PASSWORD:
|
||||||
from_secret: ftp_password
|
from_secret: ftp_password
|
||||||
PLUGIN_HOSTNAME: test.deligraph.com:22
|
|
||||||
PLUGIN_SRC_DIR: ./
|
|
||||||
PLUGIN_DEST_DIR: /test
|
|
||||||
PLUGIN_SECURE: false
|
PLUGIN_SECURE: false
|
||||||
PLUGIN_VERIFY: false
|
PLUGIN_VERIFY: false
|
||||||
when:
|
PLUGIN_HOSTNAME: test.deligraph.com
|
||||||
branch:
|
PLUGIN_SRC_DIR: /Deligraph-V3
|
||||||
- main
|
PLUGIN_DEST_DIR: /test
|
||||||
event:
|
PLUGIN_AUTO_CONFIRM: true
|
||||||
- push
|
PLUGIN_DEBUG: true
|
||||||
|
PLUGIN_ONLY_NEWER: true
|
||||||
|
|
|
||||||
|
|
@ -1,23 +0,0 @@
|
||||||
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
|
|
||||||
Loading…
Reference in New Issue
Block a user