From 7cac075ad777952caeb4d54404039dd28242bed1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=BDiga=20Leber?= Date: Tue, 13 Feb 2024 11:07:32 +0100 Subject: [PATCH] Create deploy-gh-pages.yml --- .github/workflows/deploy-gh-pages.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/deploy-gh-pages.yml diff --git a/.github/workflows/deploy-gh-pages.yml b/.github/workflows/deploy-gh-pages.yml new file mode 100644 index 0000000..22252b5 --- /dev/null +++ b/.github/workflows/deploy-gh-pages.yml @@ -0,0 +1,22 @@ +name: "Deploy GitHub pages" +on: + push: + branches: [master] + paths-ignore: + - README.md +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Build + run: | + npm run build + + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./dist + cname: poliglot.um.si