Skip to content

Commit

Permalink
Create build-vue.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
delas committed Nov 6, 2023
1 parent 64896c5 commit 2566794
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/build-vue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Application build and deployment
on:
push:
branches:
- master
jobs:
build:
name: Application build
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3

- name: Install and Build 🔧
run: |
npm install
npm run build
- name: Deploy 🚀
uses: actions/upload-pages-artifact@v1
with:
path: ./dist

deploy:
name: Deploy to GitHub Pages
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1

0 comments on commit 2566794

Please sign in to comment.