From db5a555ab64af0bcc72aad96f44d0351a34dc402 Mon Sep 17 00:00:00 2001 From: Daniel Tomlinson Date: Wed, 28 Sep 2022 23:28:01 +0100 Subject: [PATCH] add gh-pages build --- .github/workflows/deploy-gh-pages.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 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..b5ef995 --- /dev/null +++ b/.github/workflows/deploy-gh-pages.yml @@ -0,0 +1,24 @@ +name: Deploy | GH Pages + +on: + push: + branches: + - main + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Install project + run: yarn install + - name: Install Quasar CLI + run: yarn global add @quasar/cli + - name: Build + run: quasar build + - name: Deploy to GH pages + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: dist/spa