forgejo-ci: correct api link
All checks were successful
/ render (pull_request) Successful in 34s

This commit is contained in:
IkiWiki 2024-08-25 21:41:43 -04:00
parent 4902d1e5f3
commit a9ff160010
Signed by untrusted user who does not match committer: forge
GPG key ID: D62A472A4AA7D541

View file

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