Skip to content

Commit

Permalink
Update devcontainer to build on prerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
tarrencev committed May 14, 2024
1 parent a095ccf commit 9d554bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/devcontainer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
- ".github/workflows/devcontainer.yml"
- "!.devcontainer/devcontainer.json"
release:
types: [created]
types: [published, prereleased]

jobs:
build-and-push:
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
propose-update-pr:
needs: build-and-push
runs-on: ubuntu-latest
if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || (github.event_name == 'create' && startsWith(github.ref, 'refs/tags/'))
if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || (github.event_name == 'release' && startsWith(github.ref, 'refs/tags/'))
permissions:
pull-requests: write
contents: write
Expand Down

0 comments on commit 9d554bf

Please sign in to comment.