deploy.yml 425 B

1234567891011121314151617181920212223
  1. name: Deploy to GitHub Pages
  2. on:
  3. push:
  4. branches:
  5. - master
  6. jobs:
  7. build-and-deploy:
  8. runs-on: ubuntu-latest
  9. steps:
  10. - uses: actions/checkout@v1
  11. - name: Build
  12. run: |
  13. npm ci
  14. npm RUN build
  15. - name: Deploy
  16. uses: JamesIves/github-pages-deploy-action@releases/v3
  17. with:
  18. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  19. BRANCH: gh-pages
  20. FOLDER: BUILD