Skip to content

Instantly share code, notes, and snippets.

View joshbduncan's full-sized avatar

Josh Duncan joshbduncan

View GitHub Profile
@umanghome
umanghome / publish.yml
Last active September 16, 2024 12:34
GitHub Action: Generate a build and push to another branch
# .github/workflows/publish.yml
name: Generate a build and push to another branch
on:
push:
branches:
- master # Remove this line if your primary branch is "main"
- main # Remove this line if your primary branch is "master"
jobs: