Skip to content

added images

added images #58

Workflow file for this run

name: Build Vue
on: [push]
jobs:
# Build job
build:
# At a minimum this job should upload artifacts using actions/upload-pages-artifact
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install dependencies
run: npm install
- name: Build app
run: npm run build
- name: Archive build artifacts
run: |
tar \
--dereference --hard-dereference \
--directory "dist/" \
-cvf "dist.tar" \
.
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: github-pages
path: dist.tar
if-no-files-found: error
# Deploy job
deploy:
# Add a dependency to the build job
needs: build
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
# Specify runner + deployment step
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2