blob: 4c15aae3934350a4505d7e880459969f55ea2cef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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: gh-pages
# use the automatic token
TOKEN: ${{ secrets.GITHUB_TOKEN }}
|