-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c8512c7
commit 174d53a
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# On every push this script is executed | ||
on: push | ||
name: Build and deploy GH Pages | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
if: github.ref == 'refs/heads/main' | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
- name: build_and_deploy | ||
uses: shalzz/[email protected] | ||
env: | ||
# Target branch | ||
PAGES_BRANCH: master | ||
# Or if publishing to the same repo, use the automatic token | ||
TOKEN: ${{ secrets.GITHUB_TOKEN }} |