Browse Source

fix(ci): deploy action

master
Garrit Franke 3 years ago
parent
commit
ab68c58920
Signed by: garrit
GPG Key ID: 65586C4DDA55EA2C
  1. 16
      .github/workflows/deploy.yml

16
.github/workflows/deploy.yml

@ -9,11 +9,15 @@ jobs:
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@3.7.1
uses: JamesIves/github-pages-deploy-action@4.1.3
with:
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: out
BUILD_SCRIPT: npm ci && npm run build && touch out/.nojekyll
CNAME: blog.garrit.xyz
branch: gh-pages
folder: out

Loading…
Cancel
Save