Déploiement Hugo Staging / deploy-staging (push) Waiting to run
Intègre feature/modernisation-vitrine en squash. Workflows : staging sur site/v3 uniquement ; production en workflow_dispatch (jamais sur push).
19 lines
408 B
YAML
19 lines
408 B
YAML
# Staging : push sur site/v3 uniquement.
|
|
name: Déploiement Hugo Staging
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- site/v3
|
|
|
|
jobs:
|
|
deploy-staging:
|
|
runs-on: self-hosted
|
|
steps:
|
|
- name: Déployer sur staging.ptits-pas.fr
|
|
shell: bash
|
|
run: |
|
|
set -e
|
|
git config --global --add safe.directory /home/deploy/staging
|
|
/home/deploy/infra_v2/apps/hooks/deploy-hugo.sh
|