Skip to content

Commit

Permalink
[workflow] clone recursive
Browse files Browse the repository at this point in the history
  • Loading branch information
NSPC911 committed Nov 18, 2024
1 parent fafee50 commit 9faa768
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,21 +62,23 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'

- name: Create Virtual Environment
run: python -m venv venv

- name: Activate venv
run: source venv/bin/activate

- name: Build
run: python pys/pre_commit.py --build

- name: Replace server IP in JavaScript
run: |
sed -i 's|const serverip = "localhost";|const serverip = "${{ secrets.IP_FOR_SERVER }}";|g' build/app.js
Expand Down

0 comments on commit 9faa768

Please sign in to comment.