Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yzabeast1 authored Jul 14, 2024
1 parent 63a516c commit a261a9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:

- name: Replace server IP in JavaScript
run: |
sed -i "s|const serverip = 'localhost';|const serverip = '${{ secrets.IP_FOR_SERVER }}';|g" webUI/resource-pack-page.js
sed -i "s|const serverip = "localhost";|const serverip = "${{ secrets.IP_FOR_SERVER }}";|g" webUI/resource-pack-page.js
- name: Deploy to GitHub Pages
uses: crazy-max/ghaction-github-pages@v4
with:
target_branch: gh-pages
build_dir: ./webUI
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a261a9a

Please sign in to comment.