Skip to content

Commit 211da3b

Browse files
committed
Use latest github-pages-deploy-action
1 parent 59d2804 commit 211da3b

File tree

4 files changed

+979
-851
lines changed

4 files changed

+979
-851
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
name: Deploy to GitHub Pages
44

5-
# Controls when the action will run. Triggers the workflow on push or pull request
6-
# events but only for the master branch
5+
# Controls when the action will run.
76
on:
87
push:
98
branches: [ source ]
@@ -22,12 +21,13 @@ jobs:
2221
with:
2322
submodules: true
2423

25-
- name: Build and Deploy
24+
- name: Install and Build
25+
run: |
26+
yarn
27+
yarn build
28+
29+
- name: Deploy
2630
uses: JamesIves/github-pages-deploy-action@v4
27-
env:
28-
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
29-
BASE_BRANCH: source
30-
BRANCH: master
31-
FOLDER: public
32-
BUILD_SCRIPT: yarn && yarn build
33-
31+
with:
32+
folder: public
33+
branch: master

CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
vscodecc.org

0 commit comments

Comments
 (0)