From 02e48b68e24bf5337b15f121d16637318e76b1e2 Mon Sep 17 00:00:00 2001 From: Menosa3 <156501395+Menosa3@users.noreply.github.com> Date: Thu, 27 Feb 2025 08:08:07 +0800 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..96d8f5a --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,20 @@ + name: Deploy to GitHub Pages + + on: + push: + branches: + - main # Set this to the branch you want to deploy from + + jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository content + uses: actions/checkout@v2 + + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./