diff --git a/.forgejo/workflows/cleanup.yaml b/.forgejo/workflows/cleanup.yaml index 084cf3d..69921a7 100644 --- a/.forgejo/workflows/cleanup.yaml +++ b/.forgejo/workflows/cleanup.yaml @@ -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 }} diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 929cde1..91fc4ff 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -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 diff --git a/.forgejo/workflows/preview.yaml b/.forgejo/workflows/preview.yaml index ca58fdd..3ad603e 100644 --- a/.forgejo/workflows/preview.yaml +++ b/.forgejo/workflows/preview.yaml @@ -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