Skip to content

Add post: Give Your Application Pet Names #37

Add post: Give Your Application Pet Names

Add post: Give Your Application Pet Names #37

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
cache: npm
- run: npm clean-install
- run: npm run build
- uses: actions/upload-pages-artifact@v1
with:
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@v1