mirror of https://github.com/FOME-Tech/wiki.git
Bump deploy preview permissions
This commit is contained in:
parent
df833b0457
commit
6928900fde
|
@ -14,9 +14,7 @@ jobs:
|
|||
github.event.workflow_run.event == 'pull_request' &&
|
||||
github.event.workflow_run.conclusion == 'success'
|
||||
|
||||
permissions:
|
||||
issues: write
|
||||
deployments: write
|
||||
permissions: write-all
|
||||
|
||||
steps:
|
||||
- name: Download artifact
|
||||
|
@ -50,7 +48,6 @@ jobs:
|
|||
directory: build
|
||||
gitHubToken: ${{ secrets.GITHUB_TOKEN }} # GitHub Deployments
|
||||
wranglerVersion: "3"
|
||||
|
||||
- name: "Comment on PR"
|
||||
uses: actions/github-script@v3
|
||||
with:
|
||||
|
@ -67,4 +64,5 @@ jobs:
|
|||
});
|
||||
} catch (err) {
|
||||
console.log(err);
|
||||
process.exit(1);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue