Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7c5380b

Browse files
chore: create workflow
1 parent 06f58db commit 7c5380b

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

‎.github/workflows/main.yml‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Deploy to GH Pages
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
node-version: [10.x]
12+
steps:
13+
- uses: actions/checkout@v1
14+
- name: Use Node.js ${{ matrix.node-version }}
15+
uses: actions/setup-node@v1
16+
with:
17+
node-version: ${{ matrix.node-version }}
18+
- name: Install Packages
19+
run: yarn
20+
- name: Build & Deploy
21+
run: |
22+
git config --global user.email "jscsmith@gmail.com"
23+
git config --global user.name "jscottsmith"
24+
git remote set-url origin https://${{ secrets.MY_DEPLOY_KEY }}@github.com/jscottsmith/react-scroll-parallax-examples.git
25+
yarn build
26+
yarn deploy

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /