Update deploy.yml

This commit is contained in:
darnodo
2025-11-19 17:56:31 +01:00
parent 6cc362b85a
commit a001a57528

View File

@@ -10,7 +10,7 @@ jobs:
build_and_deploy: build_and_deploy:
if: github.event.pull_request.merged == true if: github.event.pull_request.merged == true
name: Deploy Hugo Website name: Deploy Hugo Website
runs-on: ubuntu-latest runs-on: self-hosted
steps: steps:
- name: Checkout code - name: Checkout code
@@ -29,5 +29,5 @@ jobs:
- name: Deploy to S3 - name: Deploy to S3
run: hugo deploy --force --maxDeletes -1 run: hugo deploy --force --maxDeletes -1
env: env:
AWS_ACCESS_KEY_ID: ${{ secrets.SCW_ACCESS_KEY_ID }} AWS_ACCESS_KEY_ID: ${{ secrets.SCW_ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.SCW_SECRET_ACCESS_KEY }} AWS_SECRET_ACCESS_KEY: ${{ secrets.SCW_SECRET_KEY }}