mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-20 23:49:23 +00:00
[CI] update DNS on experimental release (#1298)
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/1298 Co-authored-by: oliverpool <git@olivier.pfad.fr> Co-committed-by: oliverpool <git@olivier.pfad.fr> (cherry picked from commit2aebc5ab4d
) (cherry picked from commit8d66b6e7bc
) (cherry picked from commitc782935f1b
) (cherry picked from commit51e071da73
) (cherry picked from commit81dbc87e16
) (cherry picked from commit7a98204743
) (cherry picked from commitc679954950
) (cherry picked from commit8e4a03f302
) (cherry picked from commit5846953f61
) (cherry picked from commitffda919030
) (cherry picked from commitf923b26d1e
) (cherry picked from commitabfe5ec45d
) (cherry picked from commit35a7f5eb20
) (cherry picked from commitc996d51bd6
) (cherry picked from commitc9d4a3d917
) (cherry picked from commitae22f9c34f
) (cherry picked from commit9c4eee7aab
) (cherry picked from commit6245948d6c
) (cherry picked from commita286163c0b
) (cherry picked from commit0bad00bb1c
) (cherry picked from commit7653151793
) (cherry picked from commit614cc71c88
)
This commit is contained in:
parent
df4099247f
commit
aa3a7249f7
|
@ -58,3 +58,22 @@ jobs:
|
|||
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}
|
||||
verbose: ${{ secrets.VERBOSE }}
|
||||
|
||||
|
||||
- name: set up go for the DNS update below
|
||||
uses: https://code.forgejo.org/actions/setup-go@v4
|
||||
if: secrets.ROLE == 'forgejo-experimental'
|
||||
with:
|
||||
go-version: ">=1.21"
|
||||
check-latest: true
|
||||
- name: update the _release.experimental DNS record
|
||||
if: secrets.ROLE == 'forgejo-experimental'
|
||||
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