Skip to content

Merge pull request #127 from ebshimizu/pakidge #153

Merge pull request #127 from ebshimizu/pakidge

Merge pull request #127 from ebshimizu/pakidge #153

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Deploy (v2)
# Controls when the action will run. Triggers the workflow on push to master
on:
push:
branches: [master]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
# run node setup
- uses: actions/checkout@v3
- name: Use Node.js 16.
uses: actions/setup-node@v3
with:
node-version: 16.x
# - name: Build Number Generator
# uses: einaregilsson/build-number@v3
# with:
# token: ${{secrets.github_token}}
- name: Write build number to file
run: |
rm build.json
echo {\"build\":$GITHUB_RUN_NUMBER} >> build.json
# install packages
- run: npm install
- run: npm install --location=global @quasar/cli
- name: Build dist
run: quasar build
- name: GitHub Pages
uses: crazy-max/ghaction-github-pages@v3
with:
repo: ebshimizu/5emm
target_branch: master
build_dir: dist/spa
env:
GITHUB_TOKEN: ${{ secrets.PERSONAL_TOKEN }}