mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
chore: update GitHub Actions workflow permissions and artifact retention
- Added permissions for reading contents, actions, and writing pull requests. - Set artifact retention period to 1 day for the preview build.
This commit is contained in:
7
.github/workflows/build-preview.yml
vendored
7
.github/workflows/build-preview.yml
vendored
@@ -8,6 +8,10 @@ jobs:
|
||||
build-preview:
|
||||
runs-on: ubuntu-latest
|
||||
name: Build Preview Site and Upload Build Artifact
|
||||
permissions:
|
||||
contents: read
|
||||
actions: read
|
||||
pull-requests: write
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
@@ -34,4 +38,5 @@ jobs:
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: preview-build
|
||||
path: app/dist
|
||||
path: app/dist
|
||||
retention-days: 1
|
||||
Reference in New Issue
Block a user