From 84faef522de76a467a1133134a1ac4329881fab0 Mon Sep 17 00:00:00 2001 From: Phliipp Jenni Date: Sat, 23 Dec 2023 20:54:03 +0100 Subject: [PATCH] fix: try with workflow --- .github/workflows/update-doc.yml | 43 ++++++++++++++++++++++++++++++++ doc/.nojekyll | 1 - doc/assets/css/style.scss | 4 --- 3 files changed, 43 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/update-doc.yml delete mode 100644 doc/.nojekyll delete mode 100644 doc/assets/css/style.scss diff --git a/.github/workflows/update-doc.yml b/.github/workflows/update-doc.yml new file mode 100644 index 000000000..9d8957105 --- /dev/null +++ b/.github/workflows/update-doc.yml @@ -0,0 +1,43 @@ +# Simple workflow for deploying static content to GitHub Pages +name: Deploy static content to Pages + +on: + # Runs on pushes targeting the default branch + push: + branches: ["angular/13.2.x"] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + +# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. +# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. +concurrency: + group: "pages" + cancel-in-progress: false + +jobs: + # Single deploy job since we're just deploying + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Pages + uses: actions/configure-pages@v4 + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + with: + # Upload entire repository + path: './docs' + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 diff --git a/doc/.nojekyll b/doc/.nojekyll deleted file mode 100644 index 2bc0a26b0..000000000 --- a/doc/.nojekyll +++ /dev/null @@ -1 +0,0 @@ -Disable Jekyll \ No newline at end of file diff --git a/doc/assets/css/style.scss b/doc/assets/css/style.scss deleted file mode 100644 index 2d68499e7..000000000 --- a/doc/assets/css/style.scss +++ /dev/null @@ -1,4 +0,0 @@ ---- ---- - -@import "{{ site.theme }}"; \ No newline at end of file