formatted workflows
هذا الالتزام موجود في:
@@ -3,7 +3,7 @@ name: Deploy marp site to Pages
|
||||
on:
|
||||
# Runs on pushes targeting the default branch
|
||||
push:
|
||||
branches: ["main"]
|
||||
branches: ['main']
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
@@ -17,7 +17,7 @@ permissions:
|
||||
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
|
||||
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
|
||||
concurrency:
|
||||
group: "pages"
|
||||
group: 'pages'
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
@@ -30,7 +30,7 @@ jobs:
|
||||
run: mkdir build && cp -R slides/img build/img && cp -R slides/themes build/themes
|
||||
|
||||
- name: Marp Build (README)
|
||||
uses: docker://marpteam/marp-cli:v2.5.0
|
||||
uses: docker://marpteam/marp-cli:latest
|
||||
with:
|
||||
args: --theme-set slides/themes -o build/index.html --html -- slides/Slides.md
|
||||
env:
|
||||
@@ -44,4 +44,4 @@ jobs:
|
||||
path: 'build'
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v2
|
||||
uses: actions/deploy-pages@v2
|
||||
|
المرجع في مشكلة جديدة
حظر مستخدم