Skip to content

Commit

Permalink
Simplify deploy-to-production workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
janbrasna authored May 25, 2024
1 parent 55afd5c commit 5b0c9d0
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/deploy-to-production.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
name: deploy-to-production

on:
workflow_dispatch: # allow manual runs
push:
branches: ["master"]
# Allows workflow run manually from Actions tab:
workflow_dispatch:
branches:
- master

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

defaults:
run:
shell: bash
group: github-pages
cancel-in-progress: false # skip any intermediate builds but let finish

jobs:
build:
Expand Down

0 comments on commit 5b0c9d0

Please sign in to comment.