Skip to content

Commit

Permalink
Update GitHub workflow for main branch push
Browse files Browse the repository at this point in the history
The GitHub workflow file has been updated to trigger asset building and pushing when code is pushed to the main branch. In addition, the repository URL has been slightly modified to include ".git" at the end.
  • Loading branch information
mdsadiqueinam committed Apr 13, 2024
1 parent bb263c5 commit e353068
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/page-release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Build and Push Wasm Assets

on:
push:
branches:
- main
release:
types: [published]

Expand All @@ -22,7 +25,7 @@ jobs:
- name: Checkout Destination Repo (shallow clone)
uses: actions/checkout@v4 # Checkout the destination repository (shallow clone)
with:
repository: https://github.com/mdsadique-inam/launchpad
repository: mdsadique-inam/launchpad
ref: main # Adjust branch if needed
token: ${{ secrets.PUSH_TOKEN }} # Use a secret for access token
fetch-depth: 1 # Only download the latest commit for efficiency
Expand Down

0 comments on commit e353068

Please sign in to comment.