Skip to content

Commit

Permalink
Update deploy-js.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
korge-game-engine authored Mar 2, 2024
1 parent 3ab5031 commit 7fb8536
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/deploy-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

on:
push:
branches: [ "main", "master" ]
branches: [ "main" ]
workflow_dispatch:

env:
JAVA_DISTRIBUTION: zulu
Expand All @@ -14,8 +15,17 @@ permissions:
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
build:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- { uses: actions/checkout@v4 }
Expand Down

0 comments on commit 7fb8536

Please sign in to comment.