Skip to content

Commit 7ee2915

Browse files
committed
fix(ci): update paths to repository root
1 parent 1ea1f08 commit 7ee2915

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,31 +23,28 @@ jobs:
2323
with:
2424
node-version: '24'
2525
cache: 'npm'
26-
cache-dependency-path: 'BLEU-Website/package-lock.json'
26+
cache-dependency-path: 'package-lock.json'
2727

2828
- name: Install dependencies
29-
working-directory: BLEU-Website
3029
run: npm ci
3130

3231
- name: Build CSS
33-
working-directory: BLEU-Website
3432
run: npm run build:css
3533

3634
- name: Build site
37-
working-directory: BLEU-Website
3835
run: npm run build:11ty
3936
env:
4037
DISCORD_GUILD_ID: ${{ secrets.DISCORD_GUILD_ID }}
4138
DISCORD_BOT_TOKEN: ${{ secrets.DISCORD_BOT_TOKEN }}
4239

4340
- name: Upload artifact
44-
if: github.ref == 'refs/heads/main'
41+
if: github.ref == 'refs/heads/master'
4542
uses: actions/upload-pages-artifact@v3
4643
with:
47-
path: BLEU-Website/_site
44+
path: _site
4845

4946
deploy:
50-
if: github.ref == 'refs/heads/main'
47+
if: github.ref == 'refs/heads/master'
5148
needs: build
5249
runs-on: ubuntu-latest
5350

0 commit comments

Comments
 (0)