File tree Expand file tree Collapse file tree 1 file changed +4
-41
lines changed Expand file tree Collapse file tree 1 file changed +4
-41
lines changed Original file line number Diff line number Diff line change 1- name : GH Pages CI
1+ name : GitHub to Vercel
22
33on :
44 push :
99
1010jobs :
1111 build-deploy :
12- runs-on : ubuntu-16.04
12+ runs-on : ubuntu-latest
1313 steps :
14- - name : Clone Jekyll Repo
15- # You may pin to the exact commit or the version.
16- # uses: GuillaumeFalourd/clone-github-repo-action@d667f8c39e6ac1dd5309ad51b0020657c7a1a296
17- uses : GuillaumeFalourd/clone-github-repo-action@v1
18- with :
19- # Repository Owner
20- owner : JimmyLv
21- # Repository name
22- repository : jekyll-blog
23- - name : Clone _posts Repo
24- # You may pin to the exact commit or the version.
25- # uses: GuillaumeFalourd/clone-github-repo-action@d667f8c39e6ac1dd5309ad51b0020657c7a1a296
26- uses : GuillaumeFalourd/clone-github-repo-action@v1
27- with :
28- # Repository Owner
29- owner : JimmyLv
30- # Repository name
31- repository : jimmylv.github.io
32- - name : Show Files
14+ - name : Trigger Deployment Hook
3315 run : |
34- pwd
35- ls
36- - name : Move Files
37- run : |
38- sudo cp -rf jimmylv.github.io/**/** jekyll-blog/_posts
39- export LC_ALL=en_US.UTF-8
40- export LANG=en_US.UTF-8
41-
42- - name : Get cached gems
43- uses : actions/cache@v2
44- with :
45- path : vendor/bundle
46- key : ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
47- restore-keys : |
48- ${{ runner.os }}-gems-
49- - name : Build and deploy
50- uses : helaili/jekyll-action@v2
51- with :
52- jekyll_src : ' jekyll-blog'
53- token : ${{ secrets.GITHUB_TOKEN }}
16+ curl -X POST https://api.vercel.com/v1/integrations/deploy/prj_5WIsNe13IMQbqbCPpKZW2DwufCRI/qRo2PAJ9u3
You can’t perform that action at this time.
0 commit comments