From 23f67548ffffb7976ba00f8519f6854baab022a1 Mon Sep 17 00:00:00 2001 From: Tim Ermilov Date: Mon, 4 Dec 2023 12:20:11 +0100 Subject: [PATCH] [exoframe-website] Add missing persmissions to github action config --- .github/workflows/website.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 2e37a71..9bfb373 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -1,8 +1,18 @@ name: Website to Github pages # deploy website to github pages on push on: + # Runs on pushes targeting the default branch push: - branches: '*' + branches: 'main' + + # Allows us to run this workflow manually from the Actions tab + workflow_dispatch: + +# Set permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write jobs: deploy-website: