Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
davinyleticia authored Jun 30, 2024
1 parent 0674ba3 commit ca7fe33
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ jobs:
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git clone --branch gh-pages https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git gh-pages
rm -rf gh-pages/*
cp -r dist/* gh-pages/
echo "codivas.com.br" > gh-pages/CNAME
cd gh-pages
git clone --branch github-pages https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git github-pages
rm -rf github-pages/*
cp -r dist/* github-pages/
echo "codivas.com.br" > github-pages/CNAME
cd github-pages
git add --all
git commit -m "Deploy to GitHub Pages"
git push origin gh-pages
git push origin github-pages

0 comments on commit ca7fe33

Please sign in to comment.