Skip to content

Commit

Permalink
Add contents write permissions to pages action
Browse files Browse the repository at this point in the history
  • Loading branch information
colinkiama committed Apr 1, 2024
1 parent 28f385a commit 757f568
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,22 @@ on:
push:
branches: [ "main" ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
permission:
contents: write

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- name: Checkout 🛎️
uses: actions/checkout@v4

# Runs a set of commands using the runners shell
- name: Build
Expand Down

0 comments on commit 757f568

Please sign in to comment.