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
490 B
23 lines
490 B
on: |
|
push: |
|
branches: |
|
- master |
|
name: Deploy to Github Pages |
|
jobs: |
|
deploy: |
|
name: deploy |
|
runs-on: ubuntu-latest |
|
steps: |
|
- uses: actions/checkout@master |
|
name: Checkout |
|
- name: Build |
|
run: | |
|
npm ci |
|
npm run build |
|
touch out/.nojekyll |
|
echo "blog.garrit.xyz" > CNAME |
|
- name: Deploy |
|
uses: JamesIves/github-pages-deploy-action@4.1.3 |
|
with: |
|
branch: gh-pages |
|
folder: out
|
|
|