1
0
mirror of synced 2025-01-11 05:42:15 +01:00

git: Updated more workflows

This commit is contained in:
WerWolv 2024-12-15 00:44:32 +01:00
parent f2ea7ca5d1
commit 5511259f2d
2 changed files with 6 additions and 7 deletions

View File

@ -49,7 +49,7 @@ jobs:
chmod -c -R +rX "out/"
- name: ⬆️ Upload artifacts
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
with:
path: out/
@ -59,9 +59,8 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
run: |
gh extension install actions/gh-actions-cache
gh actions-cache delete "build-web-cache" --confirm
gh extension install actions/gh-actions-cache || true
gh actions-cache delete "build-web-cache" --confirm || true
deploy:
environment:
@ -69,7 +68,7 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
name: 📃 Deploy to GitHub Pages
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: ${{ github.ref == 'refs/heads/master' && github.event.repository.fork == false }}
needs: build
@ -77,4 +76,4 @@ jobs:
steps:
- name: 🌍 Deploy
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4

View File

@ -10,7 +10,7 @@ on:
jobs:
release-update-repos:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
name: Release Update Repos
steps: