Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix typo

fix typo #85

name:Delete PR Preview
on:
pull_request_target:
types:[closed]
jobs:
delete_pr_preview:
runs-on:ubuntu-latest
steps:
-name:Checkout gh-pages branch
uses:actions/checkout@v4
with:
ref:gh-pages
-name:Configure Git identity
run:|
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
-name:Delete PR directory
run:|
PR_DIR=${{ github.event.pull_request.number }}
git rm -r --ignore-unmatch "${PR_DIR}/" || echo "Directory not found"
git commit -m "Delete preview for #${{ github.event.pull_request.number }}"
git push origin gh-pages

[8]ページ先頭

©2009-2025 Movatter.jp