mirror of
https://github.com/web3privacy/data
synced 2024-10-15 18:16:28 +02:00
Fixing actions/upload-artifact entry in deploy.yml
This commit is contained in:
parent
f203a4667d
commit
3cc949ec5f
1 changed files with 8 additions and 3 deletions
9
.github/workflows/deploy.yml
vendored
9
.github/workflows/deploy.yml
vendored
|
@ -14,6 +14,7 @@ on:
|
||||||
|
|
||||||
# Allow this job to clone the repo and create a page deployment
|
# Allow this job to clone the repo and create a page deployment
|
||||||
permissions:
|
permissions:
|
||||||
|
actions: read
|
||||||
contents: read
|
contents: read
|
||||||
pages: write
|
pages: write
|
||||||
id-token: write
|
id-token: write
|
||||||
|
@ -48,7 +49,11 @@ jobs:
|
||||||
- name: Upload Pages artifact
|
- name: Upload Pages artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: ./dist
|
name: W3PN-artifact
|
||||||
|
path: ~/pre-deploy-artifact-upload/
|
||||||
|
if-no-files-found: warn
|
||||||
|
retention-days: 80
|
||||||
|
overwrite: true
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
needs: build
|
needs: build
|
||||||
|
@ -56,7 +61,7 @@ jobs:
|
||||||
environment:
|
environment:
|
||||||
name: github-pages
|
name: github-pages
|
||||||
url: ${{ steps.deployment.outputs.page_url }}
|
url: ${{ steps.deployment.outputs.page_url }}
|
||||||
steps:
|
steps:
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
id: deployment
|
id: deployment
|
||||||
uses: actions/deploy-pages@v4
|
uses: actions/deploy-pages@v4
|
||||||
|
|
Loading…
Reference in a new issue