Skip to content

Updating Horizonpedia iOS link #79

Updating Horizonpedia iOS link

Updating Horizonpedia iOS link #79

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
with:
persist-credentials: false
- name: Cache node modules
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install and Build 🔧
run: |
npm install
npm run build
- name: Create 404.html and CNAME
run: |
cp dist/acnh-directory/index.html dist/acnh-directory/404.html
echo "acnh.directory" > dist/acnh-directory/CNAME
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: dist/acnh-directory # The folder the action should deploy.
CLEAN: true