Skip to content

update GitHub link

update GitHub link #76

Workflow file for this run

name: Deploy
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/[email protected]
with:
version: 8
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm build
- name: Push directory to remote repository or branch
uses: cpina/[email protected]
env:
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }}
with:
source-directory: .vitepress/dist/
destination-github-username: WhirlScript
destination-repository-name: whirlscript.github.io
user-email: 41898282+github-actions[bot]@users.noreply.github.com
user-name: github-actions[bot]
target-branch: gh-pages
create-target-branch-if-needed: true