File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
- name : Balanced ternary to decimal pipeline
2
-
3
1
on :
4
2
push :
5
3
branches : [ main, master ]
@@ -38,25 +36,27 @@ jobs:
38
36
needs : build
39
37
if : github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')
40
38
runs-on : ubuntu-latest
41
-
39
+
42
40
steps :
43
41
- name : Checkout repository
44
42
uses : actions/checkout@v3
45
-
43
+
46
44
- name : Setup Node.js
47
45
uses : actions/setup-node@v3
48
46
with :
49
47
node-version : ' 18'
50
48
cache : ' npm'
51
-
49
+
52
50
- name : Restore cached build
53
51
uses : actions/cache@v3
54
52
with :
55
53
path : dist
56
54
key : ${{ runner.os }}-astro-build-${{ github.sha }}
57
-
55
+
58
56
- name : Deploy to GitHub Pages
59
57
uses : JamesIves/github-pages-deploy-action@v4
60
58
with :
59
+ branch : gh-pages
61
60
folder : dist
62
- branch : gh-pages
61
+ clean : true
62
+ token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -3,6 +3,6 @@ import { defineConfig } from 'astro/config';
3
3
4
4
// https://astro.build/config
5
5
export default defineConfig ( {
6
- site : 'https://vbprodev.github.io' ,
6
+ site : 'https://vbprodev.github.io/decimal-and-balanced-ternary-converter ' ,
7
7
base : '/decimal-and-balanced-ternary-converter' ,
8
8
} ) ;
You can’t perform that action at this time.
0 commit comments