From 1bb3dd0636e7b2d5a4b4b68854db2a2867cd43fa Mon Sep 17 00:00:00 2001 From: bohdan-voit <113583224+bohdan-voit@users.noreply.github.com> Date: Sat, 14 Jan 2023 18:35:46 +0200 Subject: [PATCH] GitHub action for deployment --- workflows/deploy.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 workflows/deploy.yml diff --git a/workflows/deploy.yml b/workflows/deploy.yml new file mode 100644 index 00000000..b4ce1d28 --- /dev/null +++ b/workflows/deploy.yml @@ -0,0 +1,20 @@ + +name: Deploy to GitHub Pages + +on: + push: + branches: + - master + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v3 + with: + github\_token: ${{ secrets.GITHUB\_TOKEN }} + publish\_dir: ./