We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06f58db commit 7c5380bCopy full SHA for 7c5380b
.github/workflows/main.yml
@@ -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