Skip to content

Define Github Pages Action #2

Define Github Pages Action

Define Github Pages Action #2

Workflow file for this run

on: push
jobs:
build_and_deploy:
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:
PAGES_BRANCH: master
BUILD_DIR: .
TOKEN: ${{ secrets.TOKEN }}
REPOSITORY: ${{ secrets.GHP_USER }}/${{ secrets.GHP_USER }}.github.io