Skip to content

Commit

Permalink
Update pages.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Denis Davydkov <[email protected]>
  • Loading branch information
davydkov authored Mar 26, 2024
1 parent fb98c12 commit e6991e9
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ on:
# Runs on pushes targeting the default branch and c4 files
push:
branches: ["main"]
paths:
- "**.c4"

# Allows you to run this workflow manually from the Actions tab
workflow_call:
Expand All @@ -17,7 +15,7 @@ permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in progress and the latest queued.
# However, do NOT cancel in-progress runs, as we want to allow these production deployments to be completed.
concurrency:
Expand All @@ -34,7 +32,7 @@ jobs:

- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v4

- name: Build
uses: likec4/actions@v1
Expand Down Expand Up @@ -62,4 +60,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3
uses: actions/deploy-pages@v4

0 comments on commit e6991e9

Please sign in to comment.