mirror of
https://github.com/bartvdbraak/omnidash.git
synced 2025-04-27 23:41: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
|
name: Unlighthouse SEO Reports
|
||||||
|
|
||||||
on:
|
on:
|
||||||
[deployment_status]
|
[deployment_status, workflow_dispatch]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pages: write
|
||||||
|
id-token: write
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: "pages"
|
||||||
|
cancel-in-progress: false
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -25,17 +34,14 @@ jobs:
|
||||||
- name: Upload GitHub Pages artifact
|
- name: Upload GitHub Pages artifact
|
||||||
uses: actions/upload-pages-artifact@v1.0.8
|
uses: actions/upload-pages-artifact@v1.0.8
|
||||||
with:
|
with:
|
||||||
path: './.unlighthouse'
|
path: ./.unlighthouse
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
needs: build
|
|
||||||
permissions:
|
|
||||||
pages: write
|
|
||||||
id-token: write
|
|
||||||
environment:
|
environment:
|
||||||
name: github-pages
|
name: github-pages
|
||||||
url: ${{ steps.deployment.outputs.page_url }}
|
url: ${{ steps.deployment.outputs.page_url }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
needs: build
|
||||||
steps:
|
steps:
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
id: deployment
|
id: deployment
|
||||||
|
|
Loading…
Reference in a new issue