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