Skip to content

Commit

Permalink
Merge pull request #11 from hpi-schul-cloud/add-permissions-to-actions
Browse files Browse the repository at this point in the history
Add permissions to actions
  • Loading branch information
EzzatOmar authored Oct 17, 2023
2 parents ce72aac + b1ad574 commit 4f23dfb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
# Review gh actions docs if you want to further define triggers, paths, etc
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on

permissions:
contents: read
pages: write

jobs:
deploy:
name: Deploy to GitHub Pages
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
# Review gh actions docs if you want to further define triggers, paths, etc
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on

permissions:
contents: read

jobs:
test-deploy:
name: Test deployment
Expand Down
2 changes: 1 addition & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const config = {
favicon: 'img/favicon.ico',

// Set the production url of your site here
url: 'https://hpi-schul-cloud.github.io',
url: 'https://documentation.dbildungscloud.dev',
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: '/',
Expand Down

0 comments on commit 4f23dfb

Please sign in to comment.