From 303dce0a833f24d1829c177353f3e752945ad522 Mon Sep 17 00:00:00 2001 From: Frank Bergmann Date: Fri, 5 Jul 2024 14:37:24 +0200 Subject: [PATCH] start github action for deployment --- .github/workflows/build_page.yml | 33 ++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/build_page.yml diff --git a/.github/workflows/build_page.yml b/.github/workflows/build_page.yml new file mode 100644 index 000000000..3024a5352 --- /dev/null +++ b/.github/workflows/build_page.yml @@ -0,0 +1,33 @@ +# Sample workflow for building and deploying a Jekyll site to GitHub Pages +name: Build & Deploy Hugo site + +on: + # Runs on pushes targeting the default branch + push: + branches: ["main"] + + # 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: + # Build job + build: + runs-on: ubuntu-latest + container: + image: klakegg/hugo:0.68.0 + steps: + - name: Checkout + uses: actions/checkout@v4 + - run: ls -l