diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 54c616e..72ed38a 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -14,9 +14,10 @@ jobs: path: ./mirror - name: Checkout wiki repository - uses: actions/checkout@master + uses: actions/checkout@main with: repository: df-mc/dragonfly.wiki + ref: refs/heads/master token: ${{ secrets.ACTIONS_SECRET }} path: ./wiki @@ -32,6 +33,8 @@ jobs: cp -a mirror/. wiki - name: Push changes + with: + token: ${{ secrets.ACTIONS_SECRET }} run: | cd wiki if ! git diff --exit-code --quiet; then