Skip to content

ci: delete unless env #2

ci: delete unless env

ci: delete unless env #2

Workflow file for this run

# Sample workflow for building and deploying a Hugo site to GitHub Pages
name: Deploy website to Pages
on:
# Runs on pushes targeting the default branch
push:
pull_request:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Default to bash
defaults:
run:
shell: bash
jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Install and Build
run: npm install && npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
# If you're changing the branch from main,
# also change the `main` in `refs/heads/main`
# below accordingly.
if: github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./website