Skip to content

Merge pull request #40 from Xiphoseer/dependabot/npm_and_yarn/http-ca… #43

Merge pull request #40 from Xiphoseer/dependabot/npm_and_yarn/http-ca…

Merge pull request #40 from Xiphoseer/dependabot/npm_and_yarn/http-ca… #43

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/[email protected]
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/[email protected]