From dc761913fc56486ee934ee40a5667ea8be4a95fc Mon Sep 17 00:00:00 2001 From: maximeg Date: Thu, 18 Jan 2024 14:02:29 +0000 Subject: [PATCH 1/9] ajout workflow gitea --- .gitea/workflows/test.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .gitea/workflows/test.yml diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml new file mode 100644 index 0000000..c42aecb --- /dev/null +++ b/.gitea/workflows/test.yml @@ -0,0 +1,19 @@ +name: Gitea Actions +run-name: ${{ gitea.actor }} is testing Gitea Actions 🚀 +on: [push] + +jobs: + build and deploy: + steps: + - name: Setup Hugo + uses: https://github.com/peaceiris/actions-hugo@v2 + with: + hugo-version: latest + extended: true + - name: Build + run: hugo --minify + - name: Deploy + env: + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + run: hugo deploy --config hugo.toml \ No newline at end of file From 4153970c0a2b71463d38e27360840abfee80c478 Mon Sep 17 00:00:00 2001 From: maximeg Date: Thu, 18 Jan 2024 14:06:04 +0000 Subject: [PATCH 2/9] Actualiser .gitea/workflows/test.yml --- .gitea/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index c42aecb..cfbc11d 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -11,7 +11,7 @@ jobs: hugo-version: latest extended: true - name: Build - run: hugo --minify + run: hugo --minify --config hugo.toml - name: Deploy env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} From c16248c42a77dee0be247c993a0e1c46ebabe920 Mon Sep 17 00:00:00 2001 From: maximeg Date: Thu, 18 Jan 2024 14:10:23 +0000 Subject: [PATCH 3/9] Actualiser .gitea/workflows/test.yml --- .gitea/workflows/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index cfbc11d..e9226d4 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -5,6 +5,8 @@ on: [push] jobs: build and deploy: steps: + - name: check folder + run: ls - name: Setup Hugo uses: https://github.com/peaceiris/actions-hugo@v2 with: From 79abc735a2ae51ae3d0ca42b0b370b4058ca797b Mon Sep 17 00:00:00 2001 From: maximeg Date: Thu, 18 Jan 2024 14:15:02 +0000 Subject: [PATCH 4/9] Actualiser .gitea/workflows/test.yml --- .gitea/workflows/test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index e9226d4..8e4e571 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -6,7 +6,9 @@ jobs: build and deploy: steps: - name: check folder - run: ls + run: pwd + run: echo hello world + run: ls -a - name: Setup Hugo uses: https://github.com/peaceiris/actions-hugo@v2 with: From bb03c3d3aaa1fa8e8b65ae710bf830088d7bff0d Mon Sep 17 00:00:00 2001 From: maximeg Date: Thu, 18 Jan 2024 14:16:02 +0000 Subject: [PATCH 5/9] Actualiser .gitea/workflows/test.yml --- .gitea/workflows/test.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 8e4e571..bd59515 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -6,9 +6,10 @@ jobs: build and deploy: steps: - name: check folder - run: pwd - run: echo hello world - run: ls -a + run: | + pwd + echo 'hello world' + ls -a - name: Setup Hugo uses: https://github.com/peaceiris/actions-hugo@v2 with: From 0bed74775ac65d515c33229891a0880f9748e1dd Mon Sep 17 00:00:00 2001 From: maximeg Date: Thu, 18 Jan 2024 14:20:26 +0000 Subject: [PATCH 6/9] Actualiser .gitea/workflows/test.yml --- .gitea/workflows/test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index bd59515..425a4ab 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -5,7 +5,9 @@ on: [push] jobs: build and deploy: steps: + - name: check folder + uses: actions/checkout@v3 run: | pwd echo 'hello world' @@ -13,7 +15,7 @@ jobs: - name: Setup Hugo uses: https://github.com/peaceiris/actions-hugo@v2 with: - hugo-version: latest + hugo-version: 'latest' extended: true - name: Build run: hugo --minify --config hugo.toml From 8621c503a355c483cadff09a3d3e49aeea87f137 Mon Sep 17 00:00:00 2001 From: maximeg Date: Thu, 18 Jan 2024 15:21:24 +0000 Subject: [PATCH 7/9] Actualiser .gitea/workflows/test.yml --- .gitea/workflows/test.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 425a4ab..6e66b5f 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -5,8 +5,7 @@ on: [push] jobs: build and deploy: steps: - - - name: check folder + - name: check folder uses: actions/checkout@v3 run: | pwd From f8208cb1da441166a1794a2797d11a30fb44c140 Mon Sep 17 00:00:00 2001 From: maximeg Date: Thu, 18 Jan 2024 15:22:09 +0000 Subject: [PATCH 8/9] Actualiser .gitea/workflows/test.yml --- .gitea/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 6e66b5f..fb3f380 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -5,7 +5,7 @@ on: [push] jobs: build and deploy: steps: - - name: check folder + - name: check folder uses: actions/checkout@v3 run: | pwd From cdcbc8236392215c02dc595639fb09074f03a6b4 Mon Sep 17 00:00:00 2001 From: maximeg Date: Thu, 18 Jan 2024 15:26:43 +0000 Subject: [PATCH 9/9] Actualiser .gitea/workflows/test.yml --- .gitea/workflows/test.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index fb3f380..6ebd76f 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -5,9 +5,8 @@ on: [push] jobs: build and deploy: steps: - - name: check folder - uses: actions/checkout@v3 - run: | + - uses: actions/checkout@v3 + - run: | pwd echo 'hello world' ls -a