Compare commits

...

3 Commits

Author SHA1 Message Date
16918d2614 Merge pull request 'Fix deployment working directory' (#17) from update-ci into main
Reviewed-on: #17
2025-11-19 17:04:58 +00:00
d2e177e9f8 Merge branch 'main' into update-ci
Some checks failed
Build and Deploy Hugo / Deploy Hugo Website (pull_request) Failing after 18s
2025-11-19 17:04:47 +00:00
darnodo
ab68a5952c Fix deployment working directory 2025-11-19 18:02:04 +01:00

View File

@@ -23,10 +23,9 @@ jobs:
- name: Checkout code
run: |
git clone --recurse-submodules https://gitea.arnodo.fr/Damien/Notebook.git /workspace
cd /workspace
git clone --recurse-submodules https://gitea.arnodo.fr/Damien/Notebook.git /tmp/workspace
cd /tmp/workspace
git checkout ${{ github.sha }}
working-directory: /
- name: Install Hugo
run: |
@@ -37,11 +36,11 @@ jobs:
- name: Build site
run: hugo
working-directory: /workspace
working-directory: /tmp/workspace
- name: Deploy to S3
run: hugo deploy --force --maxDeletes -1
working-directory: /workspace
working-directory: /tmp/workspace
env:
AWS_ACCESS_KEY_ID: ${{ secrets.SCW_ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.SCW_SECRET_KEY }}