mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-21 17:34:24 +01:00
Compare commits
2 commits
4c4e27cbd6
...
ed15e04b33
Author | SHA1 | Date | |
---|---|---|---|
ed15e04b33 | |||
4f85e369ec |
|
@ -83,21 +83,3 @@ jobs:
|
||||||
url: https://placeholder:${{ secrets.TOKEN_NEXT_DIGEST }}@code.forgejo.org/infrastructure/next-digest
|
url: https://placeholder:${{ secrets.TOKEN_NEXT_DIGEST }}@code.forgejo.org/infrastructure/next-digest
|
||||||
ref_name: '${{ github.ref_name }}'
|
ref_name: '${{ github.ref_name }}'
|
||||||
image: 'codeberg.org/forgejo-experimental/forgejo'
|
image: 'codeberg.org/forgejo-experimental/forgejo'
|
||||||
|
|
||||||
- name: set up go for the DNS update below
|
|
||||||
if: vars.ROLE == 'forgejo-experimental' && secrets.OVH_APP_KEY != ''
|
|
||||||
uses: https://code.forgejo.org/actions/setup-go@v4
|
|
||||||
with:
|
|
||||||
go-version: "1.22"
|
|
||||||
check-latest: true
|
|
||||||
- name: update the _release.experimental DNS record
|
|
||||||
if: vars.ROLE == 'forgejo-experimental' && secrets.OVH_APP_KEY != ''
|
|
||||||
uses: https://code.forgejo.org/actions/ovh-dns-update@v1
|
|
||||||
with:
|
|
||||||
subdomain: _release.experimental
|
|
||||||
domain: forgejo.com # there is a CNAME from .org to .com (for security reasons)
|
|
||||||
record-id: 5283602601
|
|
||||||
value: v=${{ github.ref_name }}
|
|
||||||
ovh-app-key: ${{ secrets.OVH_APP_KEY }}
|
|
||||||
ovh-app-secret: ${{ secrets.OVH_APP_SECRET }}
|
|
||||||
ovh-consumer-key: ${{ secrets.OVH_CON_KEY }}
|
|
||||||
|
|
Loading…
Reference in a new issue