mirror of
https://github.com/iptv-org/iptv-org.github.io.git
synced 2025-05-11 17:40:05 -04:00
Update update.yml
This commit is contained in:
parent
0d95a5e63e
commit
31145203f8
1 changed files with 9 additions and 4 deletions
13
.github/workflows/update.yml
vendored
13
.github/workflows/update.yml
vendored
|
@ -17,16 +17,19 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v3
|
||||
if: ${{ !env.ACT }}
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
cache: npm
|
||||
- name: Setup Pages
|
||||
uses: actions/configure-pages@v3
|
||||
if: ${{ !env.ACT }}
|
||||
uses: actions/configure-pages@v5
|
||||
- name: Restore cache
|
||||
uses: actions/cache@v3
|
||||
if: ${{ !env.ACT }}
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
docs
|
||||
|
@ -39,6 +42,7 @@ jobs:
|
|||
- name: Build /docs
|
||||
run: npm run build
|
||||
- name: Upload artifact
|
||||
if: ${{ !env.ACT }}
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
with:
|
||||
path: ./docs
|
||||
|
@ -50,5 +54,6 @@ jobs:
|
|||
needs: build
|
||||
steps:
|
||||
- name: Deploy to GitHub Pages
|
||||
if: ${{ !env.ACT }}
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v4
|
Loading…
Add table
Add a link
Reference in a new issue