Skip to content

Commit

Permalink
ci(github): test deployment perms
Browse files Browse the repository at this point in the history
  • Loading branch information
timmywil committed Sep 22, 2023
1 parent de6b676 commit c3abf91
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,14 @@ name: Deploy site
on:
# Runs on pushes targeting the default branch
push:
branches: ['main']
branches: ['ci-test']

# 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:
actions: write
contents: read
contents: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
Expand All @@ -31,6 +30,7 @@ jobs:
env:
DEPLOY_DIR: _site/
DEPLOY_BRANCH: gh-pages
NODE_ENV: development
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down

0 comments on commit c3abf91

Please sign in to comment.