Skip to content

Merge pull request #47 from Xiphoseer/dependabot/npm_and_yarn/ws-6.2.3 #45

Merge pull request #47 from Xiphoseer/dependabot/npm_and_yarn/ws-6.2.3

Merge pull request #47 from Xiphoseer/dependabot/npm_and_yarn/ws-6.2.3 #45

permissions:
contents: read
pages: write
id-token: write
name: Deploy to GitHub pages
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Generate static files
uses: actions/setup-node@v1
with:
node-version: '12.x'
- run: yarn install
- run: yarn run docs:build
- name: Upload github-pages Artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./docs/.vuepress/dist
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: 'Deploy to GitHub Pages'
id: deployment
uses: actions/deploy-pages@v4