Skip to content

change hreflang

change hreflang #225

Workflow file for this run

name: CI
on: push
jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- name: Git checkout
uses: actions/checkout@v2
with:
ref: "master"
- name: Setup hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "0.74.2"
# - name: Build BE
# # remove --minify tag if you do not need it
# # docs: https://gohugo.io/hugo-pipes/minification/
# run: |
# npm ci
# hugo --config config.toml,configbe.toml --minify
# cp .gitignore public
# echo "be.lumao.eu" > public/CNAME
# - name: Pushes to another repository BE
# uses: cpina/github-action-push-to-another-repository@master
# env:
# API_TOKEN_GITHUB: ${{ secrets.TOKEN }}
# with:
# source-directory: 'public'
# destination-github-username: 'LavoWeb'
# destination-repository-name: 'LumaoBe'
# user-email: [email protected]
- name: Build CH
run: |
npm ci
hugo --config config.toml,configch.toml --minify
cp .gitignore public
echo "lumao.ch" > public/CNAME
- name: Pushes to another repository CH
uses: cpina/github-action-push-to-another-repository@master
env:
API_TOKEN_GITHUB: ${{ secrets.TOKEN }}
with:
source-directory: 'public'
destination-github-username: 'LavoWeb'
destination-repository-name: 'LumaoCh'
user-email: [email protected]
# - name: Build LU
# run: |
# hugo --config config.toml,configch.toml --minify
# cp .gitignore public
# echo "lu.lumao.eu" > public/CNAME
#
# - name: Pushes to another repository LU
# uses: cpina/github-action-push-to-another-repository@master
# env:
# API_TOKEN_GITHUB: ${{ secrets.TOKEN }}
# with:
# source-directory: 'public'
# destination-github-username: 'LavoWeb'
# destination-repository-name: 'LumaoLu'
# user-email: [email protected]
- name: Build FR
run: |
npm ci
hugo --config config.toml --minify
cp .gitignore public
echo "lumao.eu" > public/CNAME
- name: Pushes to another repository FR
uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.TOKEN }}
with:
source-directory: 'public'
destination-github-username: 'LavoWeb'
destination-repository-name: 'Lumao'
user-email: [email protected]
target-branch: master