Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

Commit 8e7e3e5

Browse files
Merge pull request #7 from kbrddestroyer/wip/deployment
Wip/deployment
2 parents c263d71 + 7a3792c commit 8e7e3e5

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/pygame-deploy.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ on:
44
branches:
55
- main
66
workflow_dispatch:
7-
7+
8+
permissions:
9+
contents: write
10+
811
jobs:
912
build-pygbag:
1013
name: Astro - N-body simulator
@@ -20,10 +23,11 @@ jobs:
2023
echo "Attempting to build the game"
2124
python -m pygbag --build $GITHUB_WORKSPACE/src/main.py
2225
echo "Successfully build the game and complied to WebAssembly"
26+
mkdir build
2327
2428
- name : "Upload to GitHub pages branch gh-pages"
2529
uses: JamesIves/github-pages-deploy-action@4.1.7
2630
with:
2731
branch: gh-pages
28-
folder: astro/build/web
32+
folder: src/build/web
2933

src/config/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ class Configuration:
22
# region SIMULATION
33

44
TIME_UNIT = 1.0
5-
TIME_MULTIPLIER = 3
5+
TIME_MULTIPLIER = 1
66

77
DELTA_TIME = TIME_UNIT * TIME_MULTIPLIER
88

0 commit comments

Comments
 (0)