Update build.yml to avoid using token.

This commit is contained in:
Anduin Xue 2023-11-27 07:53:56 +00:00 committed by GitHub
parent 4d87d98f69
commit fb75db0e18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,14 +5,17 @@ on:
branches: [ master ]
workflow_dispatch:
permissions:
contents: write
jobs:
Rebuild-everything:
runs-on: ubuntu-latest
steps:
# Checkout, install tools..
- uses: actions/checkout@v2
- name: Clone
uses: actions/checkout@v3
with:
token: ${{ secrets.PAT }}
persist-credentials: 'true'
- uses: actions/setup-node@v2
with:
node-version: '16'