Skip to content

Commit

Permalink
Add write permission
Browse files Browse the repository at this point in the history
  • Loading branch information
AnHeuermann committed Jan 9, 2024
1 parent 6fac1a2 commit e8c6184
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 60
permissions:
contents: read
contents: write
pull-requests: write

steps:
Expand Down
6 changes: 5 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,13 @@ runs:
clean: false

- name: Remove old files/ directory
if: ${{ inputs.publish-gh-pages }}
shell: bash
run: rm -rf omc-stable/files

- name: Get HTML artifact
uses: actions/download-artifact@v4
if: ${{ inputs.publish-gh-pages }}
uses: actions/download-artifact@v4
with:
name: ${{ inputs.package-name }}.html

Expand All @@ -168,6 +169,9 @@ runs:
# Default: ignore
pathspec_error_handling: ignore

- name: Checkout
uses: actions/checkout@v4

branding:
icon: 'check-square'
color: 'blue'

0 comments on commit e8c6184

Please sign in to comment.