Skip to content

Commit a97b4f1

Browse files
Merge pull request #117 from technote-space/feature/#113
feat: github pages (#113)
2 parents affb9d3 + 4327e14 commit a97b4f1

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/release.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,27 @@ jobs:
3636
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3737
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
3838
if: failure()
39+
40+
pages:
41+
name: Publish GitHub Pages
42+
runs-on: ubuntu-latest
43+
steps:
44+
- name: Checkout
45+
uses: actions/checkout@master
46+
with:
47+
fetch-depth: 3
48+
- name: Build
49+
run: |
50+
git clone --depth=1 https://github.com/wp-content-framework/travis-ci.git travis-ci
51+
bash travis-ci/bin/deploy/gh-pages.sh
52+
env:
53+
CI: 1
54+
TRAVIS_BUILD_DIR: ${{ github.workspace }}
55+
GH_PAGES_TITLE: jQuery Marker Animation
56+
GH_PAGES_TRACKING_ID: UA-78163306-3
57+
- name: Deploy
58+
uses: JamesIves/github-pages-deploy-action@master
59+
env:
60+
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
61+
BRANCH: gh-pages
62+
FOLDER: gh-pages

0 commit comments

Comments
 (0)