Skip to content

Commit

Permalink
fix: deployment method
Browse files Browse the repository at this point in the history
  • Loading branch information
derveydylan committed Feb 25, 2025
1 parent fad7f2e commit 6dfa3f4
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,16 @@ jobs:
path: ../derveydylan.github.io/togglight

deploy:
permissions:
contents: read
pages: write
id-token: write

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

runs-on: ubuntu-latest

needs: build

steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
run: |
cd ../derveydylan.github.io
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add togglight
git commit -m "Deploy togglight"
git pus

0 comments on commit 6dfa3f4

Please sign in to comment.