mirror of
https://github.com/actions/upload-artifact.git
synced 2026-04-16 16:25:43 +00:00
Update publish-immutable-actions.yml
This commit is contained in:
parent
9f464f87af
commit
bc66375d45
1 changed files with 26 additions and 0 deletions
26
.github/workflows/publish-immutable-actions.yml
vendored
26
.github/workflows/publish-immutable-actions.yml
vendored
|
|
@ -1,3 +1,29 @@
|
|||
name: Deploy to GitHub Pages
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
workflow_dispatch:
|
||||
permissions:
|
||||
contents: read
|
||||
pages: write
|
||||
id-token: write
|
||||
concurrency:
|
||||
group: pages
|
||||
cancel-in-progress: false
|
||||
jobs:
|
||||
deploy:
|
||||
environment:
|
||||
name: github-pages
|
||||
url: ${{ steps.deployment.outputs.page_url }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/configure-pages@v5
|
||||
- uses: actions/upload-pages-artifact@v3
|
||||
with:
|
||||
path: '.'
|
||||
- id: deployment
|
||||
uses: actions/deploy-pages@v4
|
||||
name: 'Publish Immutable Action Version'upload-artifact/
|
||||
├── index.html ← the whole dashboard, everything inside
|
||||
└── .github/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue