From a0e25d3288410695eeeb331bfe1bd2c8c76d6e7d Mon Sep 17 00:00:00 2001 From: Hari Chalise Date: Sat, 5 Oct 2024 23:24:26 +0545 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 19 +++++++++++++++++++ 1 file changed, 19 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 00000000..5f27f3b2 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,19 @@ +name: Deploy to GitHub Pages + +on: + push: + branches: + - main + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.PAGES_TOKEN }} + publish_dir: ./docs