Skip to content

Change artifact name #52

Change artifact name

Change artifact name #52

Workflow file for this run

name: Build & Deploy GitHub Pages
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install NodeJS 10
uses: actions/setup-node@v1
with:
node-version: '10.x'
- name: Install dependencies
run: |
npm i yarn
yarn install
- name: Build
run: |
yarn build
- name: Upload artifacts
uses: actions/upload-pages-artifact@v2.0.0
with:
name: site
path: dist/
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
with:
artifact_name: site