mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-08 06:53:18 +08:00
TIL we also set that in the workflow
This commit is contained in:
2
.github/workflows/do-spaces-workflow.yml
vendored
2
.github/workflows/do-spaces-workflow.yml
vendored
@@ -27,7 +27,7 @@ jobs:
|
||||
DIGITALOCEAN_TOKEN: ${{ secrets.DIGITALOCEAN_TOKEN }}
|
||||
|
||||
- name: Deploy commit to DigitalOcean Spaces
|
||||
run: aws s3 sync ./dist s3://${{ secrets.SPACES_BUCKET }}/commits/available-images/${{ github.sha }} --endpoint=https://${{ secrets.SPACES_REGION }}.digitaloceanspaces.com --acl public-read --content-encoding utf8
|
||||
run: aws s3 sync ./dist s3://${{ secrets.SPACES_BUCKET }}/commits/nginxconfig/${{ github.sha }} --endpoint=https://${{ secrets.SPACES_REGION }}.digitaloceanspaces.com --acl public-read --content-encoding utf8
|
||||
env:
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.SPACES_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.SPACES_SECRET_ACCESS_KEY }}
|
||||
|
Reference in New Issue
Block a user