Compare commits
No commits in common. "f4dc82b8b7395686459015f5b5a092e931fb0975" and "c22229281716d7406f3e83214629467493e28cf0" have entirely different histories.
f4dc82b8b7
...
c222292817
36
.drone.yml
36
.drone.yml
|
|
@ -1,36 +0,0 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: ssh
|
||||
name: Homegrade | Déploiment du Thème
|
||||
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
server:
|
||||
host:
|
||||
from_secret: build_server_host
|
||||
user:
|
||||
from_secret: build_server_user
|
||||
password:
|
||||
from_secret: build_server_password
|
||||
|
||||
steps:
|
||||
- name: Clonage du Repo
|
||||
commands:
|
||||
- git clone https://git.deligraph.be/Antoine/homegrade_blocks_production.git
|
||||
- name: Installation du package
|
||||
commands:
|
||||
- cd homegrade_blocks_production
|
||||
- npm install
|
||||
- name: Build des blocks
|
||||
commands:
|
||||
- cd homegrade_blocks_production
|
||||
- cd homegrade_blocks_production/blocks && for dir in */; do [ -f "$dir/package.json" ] && echo "Building $dir" && (cd "$dir" && pwd); done
|
||||
|
||||
- name: Déploiement sur le serveur de prod
|
||||
environment:
|
||||
PROD_SERVER_PATH:
|
||||
from_secret: prod_server_path
|
||||
commands:
|
||||
- cd homegrade_blocks_production
|
||||
# - rsync -avhp -e 'ssh' ./ $PROD_SERVER_PATH:~/public_html/wp-content/themes/Deligraph_Homegrade --delete --exclude 'node_modules' --exclude 'Makefile' --exclude '.git' --exclude '.env' --exclude '.env_prod' --exclude '.env_dev'
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -6,6 +6,5 @@ $relatedPost = get_post($relatedPostId);
|
|||
|
||||
<section id="questions-container-<?php echo $relatedPostId ?>" class="questions-container-block">
|
||||
<h2 class="questions-container-block__title"><?php echo $relatedPost->post_title ?></h2>
|
||||
<!-- <?php echo $relatedPost->post_content ?> -->
|
||||
<?php echo do_blocks($relatedPost->post_content) ?>
|
||||
</section>
|
||||
|
|
@ -6,6 +6,5 @@ $relatedPost = get_post($relatedPostId);
|
|||
|
||||
<section id="questions-container-<?php echo $relatedPostId ?>" class="questions-container-block">
|
||||
<h2 class="questions-container-block__title"><?php echo $relatedPost->post_title ?></h2>
|
||||
<!-- <?php echo $relatedPost->post_content ?> -->
|
||||
<?php echo do_blocks($relatedPost->post_content) ?>
|
||||
<?php echo $relatedPost->post_content ?>
|
||||
</section>
|
||||
Loading…
Reference in New Issue
Block a user