Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ikhsanfalakh committed Jul 1, 2024
2 parents 9fcc669 + 518a06d commit c9ba365
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ jobs:
run: npm run build

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
env:
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
git remote set-url origin https://x-access-token:${{ secrets.ACTIONS_DEPLOY_KEY }}@github.com/${{ github.repository }}.git
npm install -g gh-pages
gh-pages -d build
12 changes: 0 additions & 12 deletions .github/workflows/main.yml

This file was deleted.

0 comments on commit c9ba365

Please sign in to comment.