From dc761913fc56486ee934ee40a5667ea8be4a95fc Mon Sep 17 00:00:00 2001 From: maximeg Date: Thu, 18 Jan 2024 14:02:29 +0000 Subject: [PATCH] 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