forgejo-ci: use server_url
All checks were successful
/ render (pull_request) Successful in 38s

This commit is contained in:
IkiWiki 2024-08-25 21:27:51 -04:00
parent a6c4352703
commit 3e344bbea0
Signed by untrusted user who does not match committer: forge
GPG key ID: D62A472A4AA7D541

View file

@ -11,9 +11,8 @@ jobs:
- name: Environment setup
run: |
apk add git ikiwiki po4a perl-yaml-tiny tree nodejs jq coreutils curl
echo "GITHUB_PR_NAME=$(curl -s ${{ github.api_url }}/${{ github.repository }}/pulls/${{ github.ref_name }} | jq .title | tr ' ' '-' | tr -d ':')" >> $GITHUB_ENV
echo "GITHUB_PR_NAME=$(curl -s ${{ github.server_url }}/${{ github.repository }}/pulls/${{ github.ref_name }} | jq .title | tr ' ' '-' | tr -d ':')" >> $GITHUB_ENV
echo "curl -s ${{ github.api_url }}/${{ github.repository }}/pulls/${{ github.ref_name }} | jq .title | tr ' ' '-' | tr -d ':'"
- name: Repo pull
uses: actions/checkout@v4
with: