mirror of
https://github.com/GiriNeko/CheckChrome.git
synced 2025-12-17 13:47:21 +00:00
23 lines
No EOL
551 B
YAML
23 lines
No EOL
551 B
YAML
name: Run Custom Script
|
|
on:
|
|
push:
|
|
branches:
|
|
- master # 你可以根据需要更改分支名称
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v2
|
|
- name: Run custom script
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y libxml2-utils
|
|
chmod +x run.sh
|
|
./run.sh
|
|
|
|
- name: Deploy to GitHub Pages
|
|
uses: peaceiris/actions-gh-pages@v3
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
publish_dir: ./public |