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.event == 'pull_request' &&
|
||||||
github.event.workflow_run.conclusion == 'success'
|
github.event.workflow_run.conclusion == 'success'
|
||||||
|
|
||||||
permissions:
|
permissions: write-all
|
||||||
issues: write
|
|
||||||
deployments: write
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Download artifact
|
- name: Download artifact
|
||||||
|
@ -50,7 +48,6 @@ jobs:
|
||||||
directory: build
|
directory: build
|
||||||
gitHubToken: ${{ secrets.GITHUB_TOKEN }} # GitHub Deployments
|
gitHubToken: ${{ secrets.GITHUB_TOKEN }} # GitHub Deployments
|
||||||
wranglerVersion: "3"
|
wranglerVersion: "3"
|
||||||
|
|
||||||
- name: "Comment on PR"
|
- name: "Comment on PR"
|
||||||
uses: actions/github-script@v3
|
uses: actions/github-script@v3
|
||||||
with:
|
with:
|
||||||
|
@ -67,4 +64,5 @@ jobs:
|
||||||
});
|
});
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
|
process.exit(1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue