Skip to content

[ActiveStorage::Blob] Destroy #<ActiveStorage::Blob:0x00007f57e55862d8> #101

[ActiveStorage::Blob] Destroy #<ActiveStorage::Blob:0x00007f57e55862d8>

[ActiveStorage::Blob] Destroy #<ActiveStorage::Blob:0x00007f57e55862d8> #101

Workflow file for this run

name: deuxfleurs
on:
push:
branches: [ "main" ]
jobs:
build_and_deploy:
name: Compilation du site Hugo et déploiement Deux fleurs
runs-on: ubuntu-latest
steps:
- name: Récupération des données
uses: actions/checkout@v3
with:
submodules: true
- name: Installation de Node
uses: actions/setup-node@v3
with:
node-version: 'lts/*'
cache: 'yarn'
- name: Installation des dépendances JavaScript
run: yarn install
- name: Installation de Hugo
uses: peaceiris/actions-hugo@v2.6.0
with:
hugo-version: 'latest'
extended: true
- name: Compilation du site
run: yarn osuny build
- name: Déploiement Garage
run: hugo deploy --force --maxDeletes -1
env:
AWS_ACCESS_KEY_ID: ${{ secrets.DEUXFLEURS_ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.DEUXFLEURS_SECRET }}
- name: Notification Slack en cas d'échecs
uses: ravsamhq/notify-slack-action@2.3.0
if: always()
with:
status: ${{ job.status }}
notify_when: "failure"
notification_title: ""
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}