forgejo-ci: curl follow 302
All checks were successful
/ render (pull_request) Successful in 35s

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

View file

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