Skip to content

Commit

Permalink
Update static.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cxzlw committed Jul 11, 2024
1 parent b47acf2 commit 7a709bb
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,19 @@ jobs:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
- name: Setup Python
uses: actions/setup-python@v3.1.4
with:
# Version range or exact version of a Python version to use, using SemVer's version range syntax.
python-version: 3.11
cache: 'pip'
- name: Setup Ping
run: pip install -r requirements.txt
- name: Ping
run: python -m ping --index-now
env:
HOST: blog.cxzlw.top
INDEX_NOW_KEY: b2a09667745e494db48ac5b915a14789
INDEX_NOW_KEY_URL: https://blog.cxzlw.top/b2a09667745e494db48ac5b915a14789.txt
SITEMAP: https://blog.cxzlw.top/sitemap.xml
# - name: Setup Python
# uses: actions/setup-python@v3.1.4
# with:
# # Version range or exact version of a Python version to use, using SemVer's version range syntax.
# python-version: 3.11
# cache: 'pip'
# - name: Setup Ping
# run: pip install -r requirements.txt
# - name: Ping
# run: python -m ping --index-now
# env:
# HOST: blog.cxzlw.top
# INDEX_NOW_KEY: b2a09667745e494db48ac5b915a14789
# INDEX_NOW_KEY_URL: https://blog.cxzlw.top/b2a09667745e494db48ac5b915a14789.txt
# SITEMAP: https://blog.cxzlw.top/sitemap.xml

0 comments on commit 7a709bb

Please sign in to comment.