mirror of
https://github.com/bartvdbraak/omnidash.git
synced 2025-04-27 15:31:21 +00:00
refactor: Add permissions, concurrency, manual
This commit is contained in:
parent
aacc5216da
commit
f5d8d10c25
1 changed files with 12 additions and 6 deletions
18
.github/workflows/seo-report.yaml
vendored
18
.github/workflows/seo-report.yaml
vendored
|
@ -1,7 +1,16 @@
|
|||
name: Unlighthouse SEO Reports
|
||||
|
||||
on:
|
||||
[deployment_status]
|
||||
[deployment_status, workflow_dispatch]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
pages: write
|
||||
id-token: write
|
||||
|
||||
concurrency:
|
||||
group: "pages"
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -25,17 +34,14 @@ jobs:
|
|||
- name: Upload GitHub Pages artifact
|
||||
uses: actions/upload-pages-artifact@v1.0.8
|
||||
with:
|
||||
path: './.unlighthouse'
|
||||
path: ./.unlighthouse
|
||||
|
||||
deploy:
|
||||
needs: build
|
||||
permissions:
|
||||
pages: write
|
||||
id-token: write
|
||||
environment:
|
||||
name: github-pages
|
||||
url: ${{ steps.deployment.outputs.page_url }}
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
steps:
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
|
|
Loading…
Reference in a new issue