From 7b1a31fccd65c59071c63297591cf7c4a68784e8 Mon Sep 17 00:00:00 2001 From: Digital Studium Date: Sun, 26 Mar 2023 15:45:12 +0300 Subject: [PATCH] Fix deploy --- .gitea/workflows/deploy.yaml | 11 ++++------- config.yaml | 5 +++++ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 82b4528..344affc 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -25,11 +25,8 @@ jobs: run: hugo --minify - name: Deploy - uses: https://github.com/nekitcorp/yandex-storage-website-action@v2 - with: - access-key-id: ${{ secrets.ACCESS_KEY_ID }} - secret-access-key: ${{ secrets.SECRET_ACCESS_KEY }} - bucket: ${{ secrets.BUCKET }} - include: | - public/**/* + run: hugo delpoy + env: + AWS_ACCESS_KEY_ID: ${{ secrets.ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.SECRET_ACCESS_KEY }} diff --git a/config.yaml b/config.yaml index c451912..55db875 100644 --- a/config.yaml +++ b/config.yaml @@ -15,3 +15,8 @@ languages: params: author: Константин Шуткин description: Блог о Linux, DevOps, программировании и облачных технологиях + +deployment: + targets: + - name: yandex cloud + URL: s3://digitalstudium.com?region=ru-central1&endpoint=storage.yandexcloud.net \ No newline at end of file