git: Updated more workflows
This commit is contained in:
parent
f2ea7ca5d1
commit
5511259f2d
11
.github/workflows/build_web.yml
vendored
11
.github/workflows/build_web.yml
vendored
@ -49,7 +49,7 @@ jobs:
|
|||||||
chmod -c -R +rX "out/"
|
chmod -c -R +rX "out/"
|
||||||
|
|
||||||
- name: ⬆️ Upload artifacts
|
- name: ⬆️ Upload artifacts
|
||||||
uses: actions/upload-pages-artifact@v2
|
uses: actions/upload-pages-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: out/
|
path: out/
|
||||||
|
|
||||||
@ -59,9 +59,8 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ github.token }}
|
GH_TOKEN: ${{ github.token }}
|
||||||
run: |
|
run: |
|
||||||
gh extension install actions/gh-actions-cache
|
gh extension install actions/gh-actions-cache || true
|
||||||
gh actions-cache delete "build-web-cache" --confirm
|
gh actions-cache delete "build-web-cache" --confirm || true
|
||||||
|
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
environment:
|
environment:
|
||||||
@ -69,7 +68,7 @@ jobs:
|
|||||||
url: ${{ steps.deployment.outputs.page_url }}
|
url: ${{ steps.deployment.outputs.page_url }}
|
||||||
|
|
||||||
name: 📃 Deploy to GitHub Pages
|
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 }}
|
if: ${{ github.ref == 'refs/heads/master' && github.event.repository.fork == false }}
|
||||||
needs: build
|
needs: build
|
||||||
@ -77,4 +76,4 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: 🌍 Deploy
|
- name: 🌍 Deploy
|
||||||
id: deployment
|
id: deployment
|
||||||
uses: actions/deploy-pages@v2
|
uses: actions/deploy-pages@v4
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -10,7 +10,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release-update-repos:
|
release-update-repos:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
name: Release Update Repos
|
name: Release Update Repos
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user