Publish through Garage Replicated
Some checks failed
Build and publish static site / build (push) Has been cancelled
Some checks failed
Build and publish static site / build (push) Has been cancelled
This commit is contained in:
parent
3f29cd48c0
commit
b4d80e9d9d
2 changed files with 5 additions and 5 deletions
|
|
@ -63,10 +63,10 @@ jobs:
|
|||
- name: Publish main to Garage
|
||||
if: github.ref == 'refs/heads/main'
|
||||
env:
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.GARAGE_SITES_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.GARAGE_SITES_SECRET_ACCESS_KEY }}
|
||||
AWS_DEFAULT_REGION: garage-sites
|
||||
GARAGE_S3_ENDPOINT: https://s3-sites.bcgen.ie
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.GARAGE_REPLICATED_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.GARAGE_REPLICATED_SECRET_ACCESS_KEY }}
|
||||
AWS_DEFAULT_REGION: garage-replicated
|
||||
GARAGE_S3_ENDPOINT: https://s3-replicated.bcgen.ie
|
||||
run: |
|
||||
set -eu
|
||||
aws=/opt/awscli/bin/aws
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ enabled on a non-default host, add that exact origin to `script-src`.
|
|||
|
||||
The public website virtual host must accept HTTP/HTTPS traffic only from
|
||||
Cloudflare's published IPv4 and IPv6 ranges. Keep the S3 deployment API on
|
||||
`s3-sites.bcgen.ie` reachable by Forgejo runners; do not apply the website
|
||||
`s3-replicated.bcgen.ie` reachable by Forgejo runners; do not apply the website
|
||||
virtual-host restriction to the S3 API listener. Authenticated Origin Pulls or
|
||||
a Cloudflare Tunnel are preferable when supported by the origin proxy.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue