Skip to content

Commit 6d42561

Browse files
committed
fix for deployment problem
1 parent 9b7a833 commit 6d42561

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/pipeline.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
name: Balanced ternary to decimal pipeline
2-
31
on:
42
push:
53
branches: [ main, master ]
@@ -38,25 +36,27 @@ jobs:
3836
needs: build
3937
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')
4038
runs-on: ubuntu-latest
41-
39+
4240
steps:
4341
- name: Checkout repository
4442
uses: actions/checkout@v3
45-
43+
4644
- name: Setup Node.js
4745
uses: actions/setup-node@v3
4846
with:
4947
node-version: '18'
5048
cache: 'npm'
51-
49+
5250
- name: Restore cached build
5351
uses: actions/cache@v3
5452
with:
5553
path: dist
5654
key: ${{ runner.os }}-astro-build-${{ github.sha }}
57-
55+
5856
- name: Deploy to GitHub Pages
5957
uses: JamesIves/github-pages-deploy-action@v4
6058
with:
59+
branch: gh-pages
6160
folder: dist
62-
branch: gh-pages
61+
clean: true
62+
token: ${{ secrets.GITHUB_TOKEN }}

astro.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ import { defineConfig } from 'astro/config';
33

44
// https://astro.build/config
55
export default defineConfig({
6-
site: 'https://vbprodev.github.io',
6+
site: 'https://vbprodev.github.io/decimal-and-balanced-ternary-converter',
77
base: '/decimal-and-balanced-ternary-converter',
88
});

0 commit comments

Comments
 (0)