Skip to content

Merge pull request #129 from FUEL4EP/FUEL4EP_patch_12 #91

Merge pull request #129 from FUEL4EP/FUEL4EP_patch_12

Merge pull request #129 from FUEL4EP/FUEL4EP_patch_12 #91

Workflow file for this run

on: push
jobs:
build_and_deploy:
runs-on: ubuntu-22.04
steps:
# GIT Checkout
- uses: actions/checkout@v2
# Cache node_modules
- uses: actions/[email protected]
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-
# Setup Node.JS
- uses: actions/setup-node@v4
with:
node-version: '21'
# Build
- run: npm ci
- run: npm run build
# Deploy
- name: Deploy 🚀
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/master'
with:
publish_dir: .vuepress/dist/
deploy_key: ${{ secrets.GH_PAGES_DEPLO_KEY }}
external_repository: AskSinPP/asksinpp.github.io