Skip to content

Commit

Permalink
Update auto.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Prince527GitHub authored Feb 24, 2024
1 parent f4def48 commit 60434db
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/auto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches:
- develop

permissions:
contents: write

jobs:
build-and-deploy:
runs-on: ubuntu-latest
Expand All @@ -25,7 +28,6 @@ jobs:
run: npm run build

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
uses: JamesIves/github-pages-deploy-action@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
folder: ./build

0 comments on commit 60434db

Please sign in to comment.