Skip to content

[Communication::Website::Page::Localization] Save Pilotage de Durabilité #2124

[Communication::Website::Page::Localization] Save Pilotage de Durabilité

[Communication::Website::Page::Localization] Save Pilotage de Durabilité #2124

Workflow file for this run

name: infomaniak
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-20.04
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 1
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
extended: true
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'yarn'
- name: Install JS dependencies
run: yarn install
- name: Build
run: yarn osuny build
- name: SFTP Deploy
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.FTP_HOSTNAME }}
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
local-dir: ${{ secrets.FTP_LOCAL_DIR }}
- name: Notification Slack en cas d'échec
uses: ravsamhq/[email protected]
if: always()
with:
status: ${{ job.status }}
notify_when: "failure"
notification_title: ""
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}