Skip to content

Merge pull request #53 from OH-Fasilkom-UI/feat/raisyam #47

Merge pull request #53 from OH-Fasilkom-UI/feat/raisyam

Merge pull request #53 from OH-Fasilkom-UI/feat/raisyam #47

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: GitHub Pages deploy
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v1
with:
node-version: '18.x'
- name: Installing my packages
run: npm ci
- name: Exporting static app
run: npm run static
- name: Deploy 🚀
uses: crazy-max/ghaction-github-pages@v1
with:
target_branch: gh-pages
build_dir: out
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}