Skip to content

Commit

Permalink
Fix deploy.
Browse files Browse the repository at this point in the history
  • Loading branch information
FS-Frost committed Jan 25, 2025
1 parent 39315e4 commit 7fe7130
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ jobs:
npm run-script build
- name: Change base-tag in index.html from / to syncrajo-editor-plantillas
run: sed -i 's/<base href="\/" \/>/<base href="\/syncrajo-editor-plantillas\/" \/>/g' public/index.html
run: sed -i 's/<base href="\/" \/>/<base href="\/syncrajo-editor-plantillas\/" \/>/g' build/index.html

- name: Generate build info
run: |
echo "{\"sha\": \"${{ github.sha }}\", \"ref\": \"${{ github.ref_name }}\", \"actor\": \"${{ github.actor }}\"}" >> public/build-info.json
echo "{\"sha\": \"${{ github.sha }}\", \"ref\": \"${{ github.ref_name }}\", \"actor\": \"${{ github.actor }}\"}" >> build/build-info.json
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.7
with:
branch: gh-pages
folder: public
folder: build

0 comments on commit 7fe7130

Please # to comment.