mirror of
https://codeberg.org/forgejo/docs.git
synced 2025-01-14 01:18:59 -05:00
chore(ci): use data.forgejo.org instead of code.forgejo.org
This commit is contained in:
parent
c63a884686
commit
84b315c398
2 changed files with 4 additions and 4 deletions
|
@ -22,9 +22,9 @@ jobs:
|
||||||
if: secrets.WEBSITETOKEN != ''
|
if: secrets.WEBSITETOKEN != ''
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: 'code.forgejo.org/oci/node:20-bookworm'
|
image: 'data.forgejo.org/oci/node:20-bookworm'
|
||||||
steps:
|
steps:
|
||||||
- uses: https://code.forgejo.org/forgejo/release-scheduler@v1.0.0
|
- uses: https://data.forgejo.org/forgejo/release-scheduler@v1.0.0
|
||||||
with:
|
with:
|
||||||
forgejo: https://codeberg.org
|
forgejo: https://codeberg.org
|
||||||
repository: forgejo/docs
|
repository: forgejo/docs
|
||||||
|
|
|
@ -9,7 +9,7 @@ jobs:
|
||||||
container:
|
container:
|
||||||
image: node:20
|
image: node:20
|
||||||
steps:
|
steps:
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v3
|
- uses: https://data.forgejo.org/actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
- name: lint
|
- name: lint
|
||||||
|
@ -49,7 +49,7 @@ jobs:
|
||||||
mv dist /tmp
|
mv dist /tmp
|
||||||
- name: preview
|
- name: preview
|
||||||
if: ${{ secrets.WEBSITETOKEN != '' }}
|
if: ${{ secrets.WEBSITETOKEN != '' }}
|
||||||
uses: https://code.forgejo.org/forgejo/action-website-preview@main
|
uses: https://data.forgejo.org/forgejo/action-website-preview@main
|
||||||
with:
|
with:
|
||||||
directory: /tmp/dist
|
directory: /tmp/dist
|
||||||
name: 'docs_pull_${{ github.event.pull_request.number }}'
|
name: 'docs_pull_${{ github.event.pull_request.number }}'
|
||||||
|
|
Loading…
Reference in a new issue