Skip to content

Commit 6db0f94

Browse files
committed
Fix GitHub Actions workflow and remove external scripts
1 parent 6a6ea41 commit 6db0f94

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

.github/workflows/deploy.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,34 @@ permissions:
1010
pages: write
1111
id-token: write
1212

13+
concurrency:
14+
group: "pages"
15+
cancel-in-progress: false
16+
1317
jobs:
1418
build:
1519
runs-on: ubuntu-latest
1620
steps:
1721
- name: Checkout
1822
uses: actions/checkout@v4
1923

20-
- name: Set up Node
21-
uses: actions/setup-node@v3
24+
- name: Setup Node
25+
uses: actions/setup-node@v4
2226
with:
23-
node-version: 18
27+
node-version: '18'
2428
cache: 'npm'
2529

30+
- name: Setup Pages
31+
uses: actions/configure-pages@v4
32+
2633
- name: Install dependencies
2734
run: npm ci
2835

2936
- name: Build
3037
run: npm run build
3138

3239
- name: Upload artifact
33-
uses: actions/upload-pages-artifact@v2
40+
uses: actions/upload-pages-artifact@v3
3441
with:
3542
path: ./dist
3643

@@ -43,4 +50,4 @@ jobs:
4350
steps:
4451
- name: Deploy to GitHub Pages
4552
id: deployment
46-
uses: actions/deploy-pages@v2
53+
uses: actions/deploy-pages@v4

index.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818

1919
<body>
2020
<div id="root"></div>
21-
<!-- IMPORTANT: DO NOT REMOVE THIS SCRIPT TAG OR THIS VERY COMMENT! -->
22-
<script src="https://cdn.gpteng.co/gptengineer.js" type="module"></script>
2321
<script type="module" src="/src/main.tsx"></script>
2422
</body>
2523
</html>

0 commit comments

Comments
 (0)