From 25faed8dacb7983db5ae534a8b3079d305b65960 Mon Sep 17 00:00:00 2001 From: Matthieu Rakotojaona Date: Mon, 11 Dec 2023 10:56:32 +0100 Subject: [PATCH] Add github pages action --- .github/workflows/deploy-pages.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/deploy-pages.yml diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml new file mode 100644 index 0000000000..0696f84bbc --- /dev/null +++ b/.github/workflows/deploy-pages.yml @@ -0,0 +1,25 @@ +name: Deploy conversations branch to Github Pages + +on: + push: + branches: [ "conversations" ] + +jobs: + build: + runs-on: ubuntu-latest + permissions: + contents: write + id-token: write + pages: write + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v3 + with: + node-version: 18 + - run: npm ci && npm run build + - uses: actions/upload-pages-artifact@v2 + with: + path: "dist" + - uses: actions/deploy-pages@v3 + +