Update deploy.yml #15
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user