Skip to content

Commit

Permalink
Add branch control back in.
Browse files Browse the repository at this point in the history
  • Loading branch information
gkoh committed Jul 7, 2024
1 parent 1eafe85 commit ce6febf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ jobs:
release:
needs: build
runs-on: ubuntu-latest
name: Generate release artifacts

steps:
- name: Download artifacts
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -124,4 +126,4 @@ jobs:
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy deploy --project-name=furble-web-installer
command: pages deploy deploy --project-name=furble-web-installer --branch=${{ github.event.release.prerelease && github.ref_name || 'main' }}

0 comments on commit ce6febf

Please sign in to comment.