You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
422 B
23 lines
422 B
name: Deploy to GitHub Pages |
|
|
|
on: |
|
push: |
|
branches: |
|
- master |
|
jobs: |
|
build-and-deploy: |
|
runs-on: ubuntu-latest |
|
steps: |
|
- uses: actions/checkout@v1 |
|
|
|
- name: Build |
|
run: | |
|
npm ci |
|
npm run build |
|
|
|
- name: Deploy |
|
uses: JamesIves/github-pages-deploy-action@releases/v3 |
|
with: |
|
GITHUB_TOKEN: ${{ secrets.GH_DEPLOY }} |
|
BRANCH: gh-pages |
|
FOLDER: build |