Skip to content

Commit

Permalink
Define Github Pages Action
Browse files Browse the repository at this point in the history
  • Loading branch information
lordiii committed Mar 5, 2024
1 parent e4dc8c2 commit 71fd99d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
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

0 comments on commit 71fd99d

Please sign in to comment.