Merge pull request 'Fix: Update Scaleway deployment and Hugo config' (#10) from update-ci into main
Reviewed-on: #10
This commit was merged in pull request #10.
This commit is contained in:
@@ -34,19 +34,20 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
hugo deploy --force --maxDeletes -1
|
hugo deploy --force --maxDeletes -1
|
||||||
env:
|
env:
|
||||||
AWS_ACCESS_KEY_ID: ${{ secrets.SCW_ACCESS_KEY }}
|
AWS_ACCESS_KEY_ID: ${{ secrets.SCW_ACCESS_KEY_ID }}
|
||||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.SCW_SECRET_KEY }}
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.SCW_SECRET_ACCESS_KEY }}
|
||||||
AWS_REGION: fr-par
|
|
||||||
|
|
||||||
- name: Install Scaleway CLI (for Purge only)
|
- name: Install Scaleway CLI (for Purge only)
|
||||||
run: |
|
run: |
|
||||||
curl -s https://raw.githubusercontent.com/scaleway/scaleway-cli/master/scripts/get.sh | sh
|
curl -s https://raw.githubusercontent.com/scaleway/scaleway-cli/master/scripts/get.sh | sh
|
||||||
|
export PATH="$HOME/.scw/bin:$PATH"
|
||||||
scw version
|
scw version
|
||||||
|
|
||||||
- name: Purge CDN Cache (optional)
|
- name: Purge CDN Cache (optional)
|
||||||
env:
|
env:
|
||||||
SCW_ACCESS_KEY: ${{ secrets.SCW_ACCESS_KEY }}
|
SCW_ACCESS_KEY: ${{ secrets.SCW_ACCESS_KEY_ID }}
|
||||||
SCW_SECRET_KEY: ${{ secrets.SCW_SECRET_KEY }}
|
SCW_SECRET_KEY: ${{ secrets.SCW_SECRET_ACCESS_KEY }}
|
||||||
SCW_DEFAULT_REGION: fr-par
|
SCW_DEFAULT_REGION: fr-par
|
||||||
run: |
|
run: |
|
||||||
scw edge-services pipeline purge pipeline-id=${{ secrets.SCW_PIPELINE_ID }}
|
export PATH="$HOME/.scw/bin:$PATH"
|
||||||
|
scw edge-services pipeline purge pipeline-id=${{ secrets.SCW_PIPELINE_ID }}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
baseURL: "https://darnodo.github.io/"
|
baseURL: "https://darnodo.github.io/"
|
||||||
title: 🧑💻 Notebook
|
title: 🧑💻 Notebook
|
||||||
theme: hextra
|
theme: hextra
|
||||||
|
|
||||||
defaultContentLanguage: fr
|
defaultContentLanguage: fr
|
||||||
@@ -47,4 +47,9 @@ params:
|
|||||||
markup:
|
markup:
|
||||||
goldmark:
|
goldmark:
|
||||||
renderer:
|
renderer:
|
||||||
unsafe: true
|
unsafe: true
|
||||||
|
|
||||||
|
deployment:
|
||||||
|
targets:
|
||||||
|
- name: "notebook-arnodo-fr"
|
||||||
|
URL: "s3://notebook-arnodo-fr?endpoint=https://s3.fr-par.scw.cloud®ion=fr-par"
|
||||||
|
|||||||
Reference in New Issue
Block a user