1
0
Fork 0
forked from ilot/ilot-io

forgejo-ci: use default actions

This commit is contained in:
Antoine Martin 2024-09-10 07:42:56 -04:00
parent c8e8d68070
commit f9017d5921
Signed by: ayakael
GPG key ID: D62A472A4AA7D541
3 changed files with 5 additions and 5 deletions

View file

@ -12,7 +12,7 @@ jobs:
run: |
apk add git nodejs jq coreutils curl tree gawk grep
- name: Public repo pull
uses: https://github.com/actions/checkout@v4
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.PAGES_TOKEN }}

View file

@ -14,11 +14,11 @@ jobs:
run: |
apk add git nodejs openssh-client-common openssh-client-default
- name: Start ssh-agent
uses: https://github.com/webfactory/ssh-agent@v0.9.0
uses: actions/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secrets.PAGES_PRIVKEY }}
- name: Repo pull
uses: https://github.com/actions/checkout@v4
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Website upload

View file

@ -13,12 +13,12 @@ jobs:
apk add git ikiwiki po4a perl-yaml-tiny tree nodejs jq coreutils curl
echo "GITHUB_PR_NAME=$(curl -Ls ${{ github.server_url }}/api/v1/repos/${{ github.repository }}/pulls/${{ github.ref_name }} | jq .title | tr ' ' '-' | tr -d ':' | tr -d '"' | tr '[:upper:]' '[:lower:]' | tr '/' '-')" >> $GITHUB_ENV
- name: Repo pull
uses: https://github.com/actions/checkout@v4
uses: actions/checkout@v4
with:
fetch-depth: 1
token: ${{ secrets.PAGES_TOKEN }}
- name: Public repo pull
uses: https://github.com/actions/checkout@v4
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: public